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