| Package | Description |
|---|---|
| me.jaimegarza.syntax.env | |
| me.jaimegarza.syntax.generator | |
| me.jaimegarza.syntax.language | |
| me.jaimegarza.syntax.util |
| Modifier and Type | Field and Description |
|---|---|
FormattingPrintStream |
Environment.bundle |
FormattingPrintStream |
Environment.include |
FormattingPrintStream |
Environment.output |
FormattingPrintStream |
Environment.report |
| Modifier and Type | Field and Description |
|---|---|
Map<String,FormattingPrintStream> |
Environment.lexerModes |
| Modifier and Type | Method and Description |
|---|---|
FormattingPrintStream |
Environment.getLexerModePrintStream(String lexerMode)
Obtain an existing or new formatting print stream for a lexer mode
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,FormattingPrintStream> |
Environment.getLexerModes() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPhase.indent(FormattingPrintStream out,
int n)
Outputs the proper number of spaces, as needed by param n.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Pascal.generateLexerCode(FormattingPrintStream output,
String lexerMode,
Lexer lexer,
Terminal token,
int additionalIndent) |
boolean |
LanguageSupport.generateLexerCode(FormattingPrintStream output,
String lexerMode,
Lexer lexer,
Terminal token,
int additionalIndent)
Emit the code for the lexical part of the grammar
|
boolean |
BaseLanguageSupport.generateLexerCode(FormattingPrintStream output,
String lexerMode,
Lexer lexer,
Terminal token,
int additionalIndent) |
void |
Pascal.generateRegexEnd(FormattingPrintStream output) |
void |
LanguageSupport.generateRegexEnd(FormattingPrintStream output)
Generate the bottom of a regex match in the scanner
|
void |
Javascript.generateRegexEnd(FormattingPrintStream output) |
void |
Java.generateRegexEnd(FormattingPrintStream output) |
void |
C.generateRegexEnd(FormattingPrintStream output) |
void |
Pascal.generateRegexMatch(FormattingPrintStream output,
int dfaNode) |
void |
LanguageSupport.generateRegexMatch(FormattingPrintStream output,
int dfaNode)
Generate if statement for a regular expression match
|
void |
Javascript.generateRegexMatch(FormattingPrintStream output,
int dfaNode) |
void |
Java.generateRegexMatch(FormattingPrintStream output,
int dfaNode) |
void |
C.generateRegexMatch(FormattingPrintStream output,
int dfaNode) |
void |
Pascal.generateRegexReturn(FormattingPrintStream output,
Terminal token) |
void |
LanguageSupport.generateRegexReturn(FormattingPrintStream output,
Terminal token)
Generate the default return token for a regexp
|
void |
Javascript.generateRegexReturn(FormattingPrintStream output,
Terminal token) |
void |
Java.generateRegexReturn(FormattingPrintStream output,
Terminal token) |
void |
C.generateRegexReturn(FormattingPrintStream output,
Terminal token) |
String |
LanguageSupport.indent(FormattingPrintStream out,
int n)
Indents a number of separators, based on the number of spaces per indent.
|
String |
BaseLanguageSupport.indent(FormattingPrintStream out,
int n) |
protected boolean |
BaseLanguageSupport.lexerComment(FormattingPrintStream output,
Lexer lexer,
char characterToFind) |
protected boolean |
Pascal.lexerDollar(FormattingPrintStream output,
String lexerMode,
Lexer lexer,
Terminal token) |
protected boolean |
BaseLanguageSupport.lexerDollar(FormattingPrintStream output,
String lexerMode,
Lexer lexer,
Terminal token) |
protected void |
Pascal.lexerReturnValue(FormattingPrintStream output,
String lexerMode,
Lexer lexer) |
protected boolean |
BaseLanguageSupport.lexerString(FormattingPrintStream output,
Lexer lexer,
char characterToFind) |
| Constructor and Description |
|---|
HtmlWriter(FormattingPrintStream out,
Environment environment)
Construct a writer to output to the out stream
|
Copyright © 2017. All rights reserved.