wt.step.processor.stepParser
Class STEPParser

java.lang.Object
  extended bywt.step.processor.stepParser.STEPParser
All Implemented Interfaces:
STEPParserConstants

public class STEPParser
extends Object
implements STEPParserConstants

Parser of STEP/Part21 data into a StepData object.


Field Summary
private static StepData _theStepData
           
private static Vector jj_expentries
           
private static int[] jj_expentry
           
private static int jj_gen
           
private static boolean jj_initialized_once
           
(package private) static ASCII_CharStream jj_input_stream
           
private static int jj_kind
           
private static int[] jj_la1
           
private static int[] jj_la1_0
           
private static int[] jj_la1_1
           
static Token jj_nt
           
private static int jj_ntk
           
static Token token
           
static STEPParserTokenManager token_source
           
 
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
 
Constructor Summary
STEPParser(InputStream stream)
           
STEPParser(Reader stream)
           
STEPParser(STEPParserTokenManager tm)
           
 
Method Summary
static Vector attribute_value_list()
           
static Object attribute_value()
           
static void data_sec()
           
static void disable_tracing()
           
static void enable_tracing()
           
static Integer entity_id()
           
static void entity_statement()
           
static Object enumeration_or_boolean_value()
           
static void file_desc()
           
static void file_name()
           
static void file_schema()
           
static ParseException generateParseException()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static void header_sec()
           
static Integer integer_value()
           
static void iso_decl()
           
private static Token jj_consume_token(int kind)
           
private static int jj_ntk()
           
static void main(String[] args)
          An entry point for testing the parser
static void parseSTEP(StepData stepData)
          Grammar
static Float real_value()
           
static void ReInit(InputStream stream)
           
static void ReInit(Reader stream)
           
 void ReInit(STEPParserTokenManager tm)
           
static void string_value_list()
           
static String string_value()
           
static Object typed_value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

STEPParser

public STEPParser(InputStream stream)

STEPParser

public STEPParser(Reader stream)

STEPParser

public STEPParser(STEPParserTokenManager tm)
Method Detail

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()