langchain_community.document_loaders.parsers.language.code_segmenter
.CodeSegmenter¶
- class langchain_community.document_loaders.parsers.language.code_segmenter.CodeSegmenter(code: str)[source]¶
Abstract class for the code segmenter.
Methods
__init__
(code)is_valid
()- Parameters
code (str) –