wt.step.processor.stepParser
Class STEPParser
java.lang.Object
wt.step.processor.stepParser.STEPParser
- All Implemented Interfaces:
- STEPParserConstants
- public class STEPParser
- extends Object
- implements STEPParserConstants
Parser of STEP/Part21 data into a StepData object.
Fields inherited from interface wt.step.processor.stepParser.STEPParserConstants |
BINARY_LITERAL, COMMA, DATA, DEFAULT, DIGIT, DOT, EMBEDDED_REMARK, ENCODED_CHARACTER, ENCODED_STRING_LITERAL, END_ISOTAG, ENDSEC, ENTITY_NAME, ENUMERATION_NAME, EOF, EQUALS, ESCAPED_CHAR, EXPONENT, FILE_DESCRIPTION, FILE_NAME, FILE_SCHEMA, HASH, HEADER, HEX_DIGIT, HEX_LITERAL, INTEGER_LITERAL, ISOTAG, LETTER, LOWERCASE_LETTER, LPAREN, NULL, OCTAL_LITERAL, OCTET, PRINT_CHAR, REAL_LITERAL, RPAREN, SEMICOLON, SIMPLE_STRING_LITERAL, tokenImage, UPPERCASE_LETTER |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_theStepData
private static StepData _theStepData
jj_initialized_once
private static boolean jj_initialized_once
token_source
public static STEPParserTokenManager token_source
jj_input_stream
static ASCII_CharStream jj_input_stream
token
public static Token token
jj_nt
public static Token jj_nt
jj_ntk
private static int jj_ntk
jj_gen
private static int jj_gen
jj_la1
private static final int[] jj_la1
jj_la1_0
private static final int[] jj_la1_0
jj_la1_1
private static final int[] jj_la1_1
jj_expentries
private static Vector jj_expentries
jj_expentry
private static int[] jj_expentry
jj_kind
private static int jj_kind
STEPParser
public STEPParser(InputStream stream)
STEPParser
public STEPParser(Reader stream)
STEPParser
public STEPParser(STEPParserTokenManager tm)
main
public static void main(String[] args)
- An entry point for testing the parser
parseSTEP
public static final void parseSTEP(StepData stepData)
throws ParseException
- Grammar
- Throws:
ParseException
iso_decl
public static final void iso_decl()
throws ParseException
- Throws:
ParseException
header_sec
public static final void header_sec()
throws ParseException
- Throws:
ParseException
file_desc
public static final void file_desc()
throws ParseException
- Throws:
ParseException
file_name
public static final void file_name()
throws ParseException
- Throws:
ParseException
file_schema
public static final void file_schema()
throws ParseException
- Throws:
ParseException
data_sec
public static final void data_sec()
throws ParseException
- Throws:
ParseException
string_value
public static final String string_value()
throws ParseException
- Throws:
ParseException
string_value_list
public static final void string_value_list()
throws ParseException
- Throws:
ParseException
entity_statement
public static final void entity_statement()
throws ParseException
- Throws:
ParseException
entity_id
public static final Integer entity_id()
throws ParseException
- Throws:
ParseException
attribute_value_list
public static final Vector attribute_value_list()
throws ParseException
- Throws:
ParseException
attribute_value
public static final Object attribute_value()
throws ParseException
- Throws:
ParseException
integer_value
public static final Integer integer_value()
throws ParseException
- Throws:
ParseException
real_value
public static final Float real_value()
throws ParseException
- Throws:
ParseException
typed_value
public static final Object typed_value()
throws ParseException
- Throws:
ParseException
enumeration_or_boolean_value
public static final Object enumeration_or_boolean_value()
throws ParseException
- Throws:
ParseException
ReInit
public static void ReInit(InputStream stream)
ReInit
public static void ReInit(Reader stream)
ReInit
public void ReInit(STEPParserTokenManager tm)
jj_consume_token
private static final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
getNextToken
public static final Token getNextToken()
getToken
public static final Token getToken(int index)
jj_ntk
private static final int jj_ntk()
generateParseException
public static final ParseException generateParseException()
enable_tracing
public static final void enable_tracing()
disable_tracing
public static final void disable_tracing()