public class Part21Parser extends Object implements Part21ParserConstants
| Modifier and Type | Field and Description |
|---|---|
Object[] |
current_entity |
Vector |
current_record |
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
Part21ParserTokenManager |
token_source
Generated Token Manager.
|
ALPHABET, APOSTROPHE, ARBITRARY, BINARY, CHARACTER, COLON, COMMA, CONTROL_DIRECTIVE, DEFAULT, DIGIT, DOLLAR, DOT, EMBEDDED_REMARK, END_EXTENDED, ENTITY_INSTANCE_NAME, ENUMERATION, EOF, EQ, EXTENDED2, EXTENDED4, HEX, HEX_FOUR, HEX_ONE, HEX_TWO, INTEGER, KEYWORD, LBRACE, LBRACKET, LOWER, LPAREN, NON_Q_CHAR, PAGE, RBRACE, RBRACKET, REAL, REVERSE_SOLIDUS, RPAREN, SEMICOLON, SIGN, SLASH, SPECIAL, STANDARD_KEYWORD, STAR, STRING, tokenImage, UPPER, USER_DEFINED_KEYWORD| Constructor and Description |
|---|
Part21Parser(InputStream stream)
Constructor with InputStream.
|
Part21Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
Part21Parser(Part21ParserTokenManager tm)
Constructor with generated Token Manager.
|
Part21Parser(Reader stream)
Constructor.
|
public Vector current_record
public Object[] current_entity
public Part21ParserTokenManager token_source
public Token token
public Token jj_nt
public Part21Parser(InputStream stream)
public Part21Parser(InputStream stream, String encoding)
public Part21Parser(Reader stream)
public Part21Parser(Part21ParserTokenManager tm)
public void init()
public HashMap<Integer,EntityInstance> getInstances()
public void setInstances(HashMap<Integer,EntityInstance> instances)
public SchemaDefinition getSchema()
public void setSchema(SchemaDefinition schema)
public String getSchemaName()
public void setSchemaName(String schemaName)
public Path getSchemaFile()
public void setSchemaFile(Path schemaFile)
public ModelPopulation getModel()
public void setModel(ModelPopulation model)
public final void exchange_file()
throws ParseException
ParseExceptionpublic final void header_section()
throws ParseException
ParseExceptionpublic final void header_entity_list()
throws ParseException
ParseExceptionpublic final void header_entity()
throws ParseException
ParseExceptionpublic final void parameter_list()
throws ParseException
ParseExceptionpublic final void parameter()
throws ParseException
ParseExceptionpublic final void typed_parameter()
throws ParseException
ParseExceptionpublic final void untyped_parameter()
throws ParseException
ParseExceptionpublic final void omitted_parameter()
throws ParseException
ParseExceptionpublic final void list()
throws ParseException
ParseExceptionpublic final void data_section()
throws ParseException
ParseExceptionpublic final void entity_instance_list()
throws ParseException
ParseExceptionpublic final void entity_instance()
throws ParseException
ParseExceptionpublic void simple_entity_instance()
throws ParseException
ParseExceptionpublic final void complex_entity_instance()
throws ParseException
ParseExceptionpublic final void scope()
throws ParseException
ParseExceptionpublic final void export_list()
throws ParseException
ParseExceptionpublic final void simple_record()
throws ParseException
ParseExceptionpublic final void subsuper_record()
throws ParseException
ParseExceptionpublic final void simple_record_list()
throws ParseException
ParseExceptionpublic final void syntax()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(Part21ParserTokenManager tm)
public Token jj_consume_token(int kind) throws ParseException
ParseExceptionpublic final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2018 OpenSource BIM. All rights reserved.