Class Indentation
java.lang.Object
org.jparsec.Indentation
Processes indentation based lexical structure according to the
Off-side rule.
- Author:
- Ben Yu
-
Field Summary
FieldsModifier and TypeFieldDescriptionAParserthat recognizes 1 or more whitespace characters on the same line. -
Constructor Summary
ConstructorsConstructorDescriptionCreates aIndentationobject that generates default indent and outdent tokens.Indentation(Object indent, Object outdent) Creates anIndentationobject that usesindentandoutdentas the token values for indentation and outdentation. -
Method Summary
-
Field Details
-
WHITESPACES
-
-
Constructor Details
-
Indentation
Creates anIndentationobject that usesindentandoutdentas the token values for indentation and outdentation. -
Indentation
public Indentation()Creates aIndentationobject that generates default indent and outdent tokens.
-
-
Method Details
-
indent
-
outdent
-
lexer
-