Class LispFoldParser
java.lang.Object
org.fife.ui.rsyntaxtextarea.folding.CurlyFoldParser
org.fife.ui.rsyntaxtextarea.folding.LispFoldParser
- All Implemented Interfaces:
FoldParser
Fold parser for Lisp and related languages.
- Version:
- 1.0
-
Field Summary
Fields inherited from class org.fife.ui.rsyntaxtextarea.folding.CurlyFoldParser
C_MLC_END
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isLeftCurly
(Token t) Returns whether the token is a left curly brace.boolean
Returns whether the token is a right curly brace.Methods inherited from class org.fife.ui.rsyntaxtextarea.folding.CurlyFoldParser
getFoldableMultiLineComments, getFolds, setFoldableMultiLineComments
-
Constructor Details
-
LispFoldParser
public LispFoldParser()
-
-
Method Details
-
isLeftCurly
Description copied from class:CurlyFoldParser
Returns whether the token is a left curly brace. This method exists so subclasses can provide their own curly brace definition.- Overrides:
isLeftCurly
in classCurlyFoldParser
- Parameters:
t
- The token.- Returns:
- Whether it is a left curly brace.
- See Also:
-
isRightCurly
Description copied from class:CurlyFoldParser
Returns whether the token is a right curly brace. This method exists so subclasses can provide their own curly brace definition.- Overrides:
isRightCurly
in classCurlyFoldParser
- Parameters:
t
- The token.- Returns:
- Whether it is a right curly brace.
- See Also:
-