public class Document extends TreeDoc
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.String> |
m_code |
private LexerDoc |
m_lexer |
private java.lang.Boolean |
m_main |
private ParserDoc |
m_parser |
private java.util.Collection<TokensDoc> |
m_tokens |
private boolean |
m_unicode |
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
void |
addCode(java.lang.String key,
java.lang.String code) |
void |
addTokens(TokensDoc tokens) |
java.util.Map<java.lang.String,java.lang.String> |
getCode() |
LexerDoc |
getLexer() |
java.lang.Boolean |
getMain()
Check if the user specifically asked for main function.
|
ParserDoc |
getParser() |
TokensDoc[] |
getTokens() |
boolean |
isUnicode() |
void |
setLexer(LexerDoc lexerDoc) |
void |
setMain(boolean main) |
void |
setParser(ParserDoc parserDoc) |
void |
setUnicode(boolean unicode) |
getProperty, setProperty
private java.lang.Boolean m_main
private boolean m_unicode
private final java.util.Map<java.lang.String,java.lang.String> m_code
private final java.util.Collection<TokensDoc> m_tokens
private LexerDoc m_lexer
private ParserDoc m_parser
public java.lang.Boolean getMain()
public void setMain(boolean main)
public boolean isUnicode()
public void setUnicode(boolean unicode)
public void setLexer(LexerDoc lexerDoc)
public void setParser(ParserDoc parserDoc)
public java.util.Map<java.lang.String,java.lang.String> getCode()
public void addCode(java.lang.String key, java.lang.String code)
public LexerDoc getLexer()
public ParserDoc getParser()
public void addTokens(TokensDoc tokens)
public TokensDoc[] getTokens()