Module implementing the lexer base class.
Lexer | Subclass to implement the lexer base class. |
None |
Subclass to implement the lexer base class.
Lexer | Constructor |
boxCommentStr | Public method to return the box comment strings. |
canBlockComment | Public method to determine, whether the lexer language supports a block comment. |
canBoxComment | Public method to determine, whether the lexer language supports a box comment. |
canStreamComment | Public method to determine, whether the lexer language supports a stream comment. |
commentStr | Public method to return the comment string. |
hasSmartIndent | Public method indicating whether lexer can do smart indentation. |
smartIndentLine | Public method to handle smart indentation for a line. |
smartIndentSelection | Public method to handle smart indentation for a selection of lines. |
streamCommentStr | Public method to return the stream comment strings. |
Constructor
Public method to return the box comment strings.
Public method to determine, whether the lexer language supports a block comment.
Public method to determine, whether the lexer language supports a box comment.
Public method to determine, whether the lexer language supports a stream comment.
Public method to return the comment string.
Public method indicating whether lexer can do smart indentation.
Public method to handle smart indentation for a line.
Public method to handle smart indentation for a selection of lines.
Note: The assumption is, that the first line determines the new indentation level.
Public method to return the stream comment strings.