langchain_community.document_loaders.parsers.language.perl
.PerlSegmenter¶
- class langchain_community.document_loaders.parsers.language.perl.PerlSegmenter(code: str)[source]¶
Code segmenter for Perl.
Methods
__init__
(code)is_valid
()make_line_comment
(text)- Parameters
code (str) –
- __init__(code: str)¶
- Parameters
code (str) –
- extract_functions_classes() List[str] ¶
- Return type
List[str]
- get_parser() Parser ¶
- Return type
Parser
- is_valid() bool ¶
- Return type
bool
- simplify_code() str ¶
- Return type
str