| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| pack-priv static final CharPredicate | INLINE_WHITESPACE
A |
| pack-priv static final Pattern | INLINE_WHITESPACES
A |
| pack-priv static final Pattern | LINE_CONTINUATION
A |
| private final Object | |
| public static final Parser | WHITESPACES
A |
| Access | Constructor and Description |
|---|---|
| public | Indentation(Object indent, Object outdent)
Creates an |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv List | analyzeIndentations(List<Token> tokens, Object lf)
Analyzes indentation by looking at the first token after each |
| public Parser | |
| public Parser | |
| private void | |
| public Parser | |
| private static Token | |
| private static Parser |
| indent | back to summary |
|---|---|
| private final Object indent | |
| INLINE_WHITESPACE | back to summary |
|---|---|
| pack-priv static final CharPredicate INLINE_WHITESPACE A | |
| INLINE_WHITESPACES | back to summary |
|---|---|
| pack-priv static final Pattern INLINE_WHITESPACES A | |
| LINE_CONTINUATION | back to summary |
|---|---|
| pack-priv static final Pattern LINE_CONTINUATION A | |
| outdent | back to summary |
|---|---|
| private final Object outdent | |
| WHITESPACES | back to summary |
|---|---|
| public static final Parser<Void> WHITESPACES A | |
| Indentation | back to summary |
|---|---|
| public Indentation(Object indent, Object outdent) Creates an | |
| Indentation | back to summary |
|---|---|
| public Indentation() Creates a | |
| analyzeIndentations | back to summary |
|---|---|
| pack-priv List Analyzes indentation by looking at the first token after each | |
| indent | back to summary |
|---|---|
| public Parser A | |
| lexer | back to summary |
|---|---|
| public Parser A | |
| newLine | back to summary |
|---|---|
| private void newLine(Token token, Stack<Integer> indentations, int indentation, List<Token> result) | |
| outdent | back to summary |
|---|---|
| public Parser A | |
| pseudoToken | back to summary |
|---|---|
| private static Token pseudoToken(int index, Object value) | |
| token | back to summary |
|---|---|
| private static Parser | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Indentation. | |
| public static final Indentation. | |
| public static final Indentation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Indentation. | |
| public static Indentation. |
| INDENT | back to summary |
|---|---|
| public static final Indentation. | |
| LF | back to summary |
|---|---|
| public static final Indentation. | |
| OUTDENT | back to summary |
|---|---|
| public static final Indentation. | |
| Punctuation | back to summary |
|---|---|
| private Punctuation() | |
| valueOf | back to summary |
|---|---|
| public static Indentation. | |
| values | back to summary |
|---|---|
| public static Indentation. | |