wt.step.schemaGenerator
Class IDLParser
java.lang.Object
wt.step.schemaGenerator.IDLParser
- All Implemented Interfaces:
- IDLParserConstants
- public class IDLParser
- extends Object
- implements IDLParserConstants
Fields inherited from interface wt.step.schemaGenerator.IDLParserConstants |
CHARACTER, DECIMALINT, DEFAULT, EOF, FLOATONE, FLOATTWO, HEXADECIMALINT, ID, OCTALINT, STRING, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_reservedWords
static final Hashtable _reservedWords
_sharedIntegerValue1
static final Integer _sharedIntegerValue1
_allDefinedTypes
static Set _allDefinedTypes
reportIdentityModification
static boolean reportIdentityModification
firstTypeWritten
static boolean firstTypeWritten
firstEntityWritten
static boolean firstEntityWritten
_crntIdlFile
static File _crntIdlFile
_pendingTypes
static Vector _pendingTypes
_schema
static Schema _schema
_usedAttributeNames
static Hashtable _usedAttributeNames
jj_initialized_once
private static boolean jj_initialized_once
token_source
public static IDLParserTokenManager 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_scanpos
private static Token jj_scanpos
jj_lastpos
private static Token jj_lastpos
jj_la
private static int jj_la
lookingAhead
public static boolean lookingAhead
jj_semLA
private static boolean jj_semLA
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_la1_2
private static final int[] jj_la1_2
jj_2_rtns
private static final IDLParser.JJCalls[] jj_2_rtns
jj_rescan
private static boolean jj_rescan
jj_gc
private static int jj_gc
jj_expentries
private static Vector jj_expentries
jj_expentry
private static int[] jj_expentry
jj_kind
private static int jj_kind
jj_lasttokens
private static int[] jj_lasttokens
jj_endpos
private static int jj_endpos
IDLParser
public IDLParser(InputStream stream)
IDLParser
public IDLParser(Reader stream)
IDLParser
public IDLParser(IDLParserTokenManager tm)
parseIDLFile
public void parseIDLFile(File idlFile,
Schema schemaToAddTo)
throws ParseException
- Throws:
ParseException
isReservedWord
static boolean isReservedWord(String word)
modifyIfReserved
static String modifyIfReserved(String original)
convertWindchillToExpressIdentifier
public static String convertWindchillToExpressIdentifier(String wtid)
specification
public static final void specification()
throws ParseException
- Throws:
ParseException
definition
public static final void definition()
throws ParseException
- Throws:
ParseException
module
public static final void module()
throws ParseException
- Throws:
ParseException
interfacex
public static final void interfacex()
throws ParseException
- Throws:
ParseException
interface_dcl
public static final void interface_dcl()
throws ParseException
- Throws:
ParseException
forward_dcl
public static final void forward_dcl()
throws ParseException
- Throws:
ParseException
interface_header
public static final void interface_header()
throws ParseException
- Throws:
ParseException
interface_body
public static final void interface_body()
throws ParseException
- Throws:
ParseException
export
public static final void export()
throws ParseException
- Throws:
ParseException
inheritance_spec
public static final void inheritance_spec()
throws ParseException
- Throws:
ParseException
scoped_name
public static final String scoped_name()
throws ParseException
- Throws:
ParseException
const_dcl
public static final void const_dcl()
throws ParseException
- Throws:
ParseException
const_type
public static final void const_type()
throws ParseException
- Throws:
ParseException
const_exp
public static final void const_exp()
throws ParseException
- Throws:
ParseException
or_expr
public static final void or_expr()
throws ParseException
- Throws:
ParseException
xor_expr
public static final void xor_expr()
throws ParseException
- Throws:
ParseException
and_expr
public static final void and_expr()
throws ParseException
- Throws:
ParseException
shift_expr
public static final void shift_expr()
throws ParseException
- Throws:
ParseException
add_expr
public static final void add_expr()
throws ParseException
- Throws:
ParseException
mult_expr
public static final void mult_expr()
throws ParseException
- Throws:
ParseException
unary_expr
public static final void unary_expr()
throws ParseException
- Throws:
ParseException
unary_operator
public static final void unary_operator()
throws ParseException
- Throws:
ParseException
primary_expr
public static final void primary_expr()
throws ParseException
- Throws:
ParseException
literal
public static final void literal()
throws ParseException
- Throws:
ParseException
boolean_literal
public static final void boolean_literal()
throws ParseException
- Throws:
ParseException
positive_int_const
public static final void positive_int_const()
throws ParseException
- Throws:
ParseException
type_dcl
public static final void type_dcl()
throws ParseException
- Throws:
ParseException
type_declarator
public static final Stack type_declarator()
throws ParseException
- Throws:
ParseException
type_spec
public static final String type_spec()
throws ParseException
- Throws:
ParseException
simple_type_spec
public static final String simple_type_spec()
throws ParseException
- Throws:
ParseException
base_type_spec
public static final String base_type_spec()
throws ParseException
- Throws:
ParseException
template_type_spec
public static final String template_type_spec()
throws ParseException
- Throws:
ParseException
constr_type_spec
public static final void constr_type_spec()
throws ParseException
- Throws:
ParseException
declarators
public static final Stack declarators()
throws ParseException
- Throws:
ParseException
declarator
public static final String declarator()
throws ParseException
- Throws:
ParseException
simple_declarator
public static final String simple_declarator()
throws ParseException
- Throws:
ParseException
complex_declarator
public static final String complex_declarator()
throws ParseException
- Throws:
ParseException
floating_pt_type
public static final void floating_pt_type()
throws ParseException
- Throws:
ParseException
integer_type
public static final void integer_type()
throws ParseException
- Throws:
ParseException
signed_int
public static final void signed_int()
throws ParseException
- Throws:
ParseException
signed_long_int
public static final void signed_long_int()
throws ParseException
- Throws:
ParseException
signed_short_int
public static final void signed_short_int()
throws ParseException
- Throws:
ParseException
unsigned_int
public static final void unsigned_int()
throws ParseException
- Throws:
ParseException
unsigned_long_int
public static final void unsigned_long_int()
throws ParseException
- Throws:
ParseException
unsigned_short_int
public static final void unsigned_short_int()
throws ParseException
- Throws:
ParseException
char_type
public static final void char_type()
throws ParseException
- Throws:
ParseException
boolean_type
public static final void boolean_type()
throws ParseException
- Throws:
ParseException
octet_type
public static final void octet_type()
throws ParseException
- Throws:
ParseException
any_type
public static final void any_type()
throws ParseException
- Throws:
ParseException
struct_type
public static final void struct_type()
throws ParseException
- Throws:
ParseException
member_list
public static final void member_list()
throws ParseException
- Throws:
ParseException
member
public static final void member()
throws ParseException
- Throws:
ParseException
union_type
public static final void union_type()
throws ParseException
- Throws:
ParseException
switch_type_spec
public static final void switch_type_spec()
throws ParseException
- Throws:
ParseException
switch_body
public static final void switch_body()
throws ParseException
- Throws:
ParseException
casex
public static final void casex()
throws ParseException
- Throws:
ParseException
case_label
public static final void case_label()
throws ParseException
- Throws:
ParseException
element_spec
public static final void element_spec()
throws ParseException
- Throws:
ParseException
enum_type
public static final void enum_type()
throws ParseException
- Throws:
ParseException
enumerator
public static final void enumerator()
throws ParseException
- Throws:
ParseException
sequence_type
public static final String sequence_type()
throws ParseException
- Throws:
ParseException
string_type
public static final String string_type()
throws ParseException
- Throws:
ParseException
array_declarator
public static final void array_declarator()
throws ParseException
- Throws:
ParseException
fixed_array_size
public static final void fixed_array_size()
throws ParseException
- Throws:
ParseException
attr_dcl
public static final void attr_dcl()
throws ParseException
- Throws:
ParseException
except_dcl
public static final void except_dcl()
throws ParseException
- Throws:
ParseException
op_dcl
public static final void op_dcl()
throws ParseException
- Throws:
ParseException
op_attribute
public static final void op_attribute()
throws ParseException
- Throws:
ParseException
op_type_spec
public static final void op_type_spec()
throws ParseException
- Throws:
ParseException
parameter_dcls
public static final void parameter_dcls()
throws ParseException
- Throws:
ParseException
param_dcl
public static final void param_dcl()
throws ParseException
- Throws:
ParseException
param_attribute
public static final void param_attribute()
throws ParseException
- Throws:
ParseException
raises_expr
public static final void raises_expr()
throws ParseException
- Throws:
ParseException
param_type_spec
public static final String param_type_spec()
throws ParseException
- Throws:
ParseException
identifier
public static final String identifier()
throws ParseException
- Throws:
ParseException
integer_literal
public static final void integer_literal()
throws ParseException
- Throws:
ParseException
string_literal
public static final void string_literal()
throws ParseException
- Throws:
ParseException
character_literal
public static final void character_literal()
throws ParseException
- Throws:
ParseException
floating_pt_literal
public static final void floating_pt_literal()
throws ParseException
- Throws:
ParseException
jj_2_1
private static final boolean jj_2_1(int xla)
jj_2_2
private static final boolean jj_2_2(int xla)
jj_2_3
private static final boolean jj_2_3(int xla)
jj_2_4
private static final boolean jj_2_4(int xla)
jj_2_5
private static final boolean jj_2_5(int xla)
jj_2_6
private static final boolean jj_2_6(int xla)
jj_2_7
private static final boolean jj_2_7(int xla)
jj_2_8
private static final boolean jj_2_8(int xla)
jj_2_9
private static final boolean jj_2_9(int xla)
jj_2_10
private static final boolean jj_2_10(int xla)
jj_2_11
private static final boolean jj_2_11(int xla)
jj_2_12
private static final boolean jj_2_12(int xla)
jj_2_13
private static final boolean jj_2_13(int xla)
jj_2_14
private static final boolean jj_2_14(int xla)
jj_2_15
private static final boolean jj_2_15(int xla)
jj_2_16
private static final boolean jj_2_16(int xla)
jj_2_17
private static final boolean jj_2_17(int xla)
jj_2_18
private static final boolean jj_2_18(int xla)
jj_2_19
private static final boolean jj_2_19(int xla)
jj_2_20
private static final boolean jj_2_20(int xla)
jj_2_21
private static final boolean jj_2_21(int xla)
jj_2_22
private static final boolean jj_2_22(int xla)
jj_2_23
private static final boolean jj_2_23(int xla)
jj_2_24
private static final boolean jj_2_24(int xla)
jj_2_25
private static final boolean jj_2_25(int xla)
jj_2_26
private static final boolean jj_2_26(int xla)
jj_3R_104
private static final boolean jj_3R_104()
jj_3R_74
private static final boolean jj_3R_74()
jj_3_7
private static final boolean jj_3_7()
jj_3R_50
private static final boolean jj_3R_50()
jj_3_6
private static final boolean jj_3_6()
jj_3R_73
private static final boolean jj_3R_73()
jj_3R_49
private static final boolean jj_3R_49()
jj_3R_125
private static final boolean jj_3R_125()
jj_3R_72
private static final boolean jj_3R_72()
jj_3R_68
private static final boolean jj_3R_68()
jj_3R_162
private static final boolean jj_3R_162()
jj_3R_48
private static final boolean jj_3R_48()
jj_3R_161
private static final boolean jj_3R_161()
jj_3R_157
private static final boolean jj_3R_157()
jj_3R_38
private static final boolean jj_3R_38()
jj_3R_71
private static final boolean jj_3R_71()
jj_3R_156
private static final boolean jj_3R_156()
jj_3R_117
private static final boolean jj_3R_117()
jj_3R_37
private static final boolean jj_3R_37()
jj_3_13
private static final boolean jj_3_13()
jj_3R_101
private static final boolean jj_3R_101()
jj_3R_67
private static final boolean jj_3R_67()
jj_3R_155
private static final boolean jj_3R_155()
jj_3_5
private static final boolean jj_3_5()
jj_3R_70
private static final boolean jj_3R_70()
jj_3R_130
private static final boolean jj_3R_130()
jj_3R_160
private static final boolean jj_3R_160()
jj_3R_124
private static final boolean jj_3R_124()
jj_3R_159
private static final boolean jj_3R_159()
jj_3R_158
private static final boolean jj_3R_158()
jj_3R_154
private static final boolean jj_3R_154()
jj_3R_77
private static final boolean jj_3R_77()
jj_3R_41
private static final boolean jj_3R_41()
jj_3R_123
private static final boolean jj_3R_123()
jj_3R_129
private static final boolean jj_3R_129()
jj_3R_69
private static final boolean jj_3R_69()
jj_3R_66
private static final boolean jj_3R_66()
jj_3R_39
private static final boolean jj_3R_39()
jj_3R_116
private static final boolean jj_3R_116()
jj_3R_100
private static final boolean jj_3R_100()
jj_3R_115
private static final boolean jj_3R_115()
jj_3R_76
private static final boolean jj_3R_76()
jj_3R_109
private static final boolean jj_3R_109()
jj_3R_75
private static final boolean jj_3R_75()
jj_3R_40
private static final boolean jj_3R_40()
jj_3R_88
private static final boolean jj_3R_88()
jj_3R_57
private static final boolean jj_3R_57()
jj_3_26
private static final boolean jj_3_26()
jj_3_25
private static final boolean jj_3_25()
jj_3R_54
private static final boolean jj_3R_54()
jj_3_4
private static final boolean jj_3_4()
jj_3R_119
private static final boolean jj_3R_119()
jj_3R_51
private static final boolean jj_3R_51()
jj_3R_103
private static final boolean jj_3R_103()
jj_3R_118
private static final boolean jj_3R_118()
jj_3_3
private static final boolean jj_3_3()
jj_3_2
private static final boolean jj_3_2()
jj_3R_47
private static final boolean jj_3R_47()
jj_3R_58
private static final boolean jj_3R_58()
jj_3R_55
private static final boolean jj_3R_55()
jj_3R_93
private static final boolean jj_3R_93()
jj_3R_56
private static final boolean jj_3R_56()
jj_3R_91
private static final boolean jj_3R_91()
jj_3R_128
private static final boolean jj_3R_128()
jj_3R_90
private static final boolean jj_3R_90()
jj_3R_53
private static final boolean jj_3R_53()
jj_3R_89
private static final boolean jj_3R_89()
jj_3R_60
private static final boolean jj_3R_60()
jj_3_12
private static final boolean jj_3_12()
jj_3R_122
private static final boolean jj_3R_122()
jj_3_22
private static final boolean jj_3_22()
jj_3R_111
private static final boolean jj_3R_111()
jj_3_24
private static final boolean jj_3_24()
jj_3_21
private static final boolean jj_3_21()
jj_3_23
private static final boolean jj_3_23()
jj_3_20
private static final boolean jj_3_20()
jj_3R_52
private static final boolean jj_3R_52()
jj_3R_134
private static final boolean jj_3R_134()
jj_3R_133
private static final boolean jj_3R_133()
jj_3R_127
private static final boolean jj_3R_127()
jj_3R_132
private static final boolean jj_3R_132()
jj_3R_86
private static final boolean jj_3R_86()
jj_3_19
private static final boolean jj_3_19()
jj_3R_45
private static final boolean jj_3R_45()
jj_3R_85
private static final boolean jj_3R_85()
jj_3R_46
private static final boolean jj_3R_46()
jj_3R_102
private static final boolean jj_3R_102()
jj_3R_33
private static final boolean jj_3R_33()
jj_3R_44
private static final boolean jj_3R_44()
jj_3R_84
private static final boolean jj_3R_84()
jj_3R_83
private static final boolean jj_3R_83()
jj_3R_82
private static final boolean jj_3R_82()
jj_3_1
private static final boolean jj_3_1()
jj_3R_81
private static final boolean jj_3R_81()
jj_3R_80
private static final boolean jj_3R_80()
jj_3R_98
private static final boolean jj_3R_98()
jj_3R_43
private static final boolean jj_3R_43()
jj_3R_79
private static final boolean jj_3R_79()
jj_3R_35
private static final boolean jj_3R_35()
jj_3R_78
private static final boolean jj_3R_78()
jj_3_11
private static final boolean jj_3_11()
jj_3R_42
private static final boolean jj_3R_42()
jj_3_10
private static final boolean jj_3_10()
jj_3_18
private static final boolean jj_3_18()
jj_3R_65
private static final boolean jj_3R_65()
jj_3R_121
private static final boolean jj_3R_121()
jj_3_9
private static final boolean jj_3_9()
jj_3R_110
private static final boolean jj_3R_110()
jj_3_17
private static final boolean jj_3_17()
jj_3R_36
private static final boolean jj_3R_36()
jj_3R_107
private static final boolean jj_3R_107()
jj_3R_94
private static final boolean jj_3R_94()
jj_3R_92
private static final boolean jj_3R_92()
jj_3R_112
private static final boolean jj_3R_112()
jj_3R_64
private static final boolean jj_3R_64()
jj_3R_87
private static final boolean jj_3R_87()
jj_3R_63
private static final boolean jj_3R_63()
jj_3R_62
private static final boolean jj_3R_62()
jj_3R_59
private static final boolean jj_3R_59()
jj_3R_61
private static final boolean jj_3R_61()
jj_3R_34
private static final boolean jj_3R_34()
jj_3R_106
private static final boolean jj_3R_106()
jj_3R_108
private static final boolean jj_3R_108()
jj_3R_114
private static final boolean jj_3R_114()
jj_3R_99
private static final boolean jj_3R_99()
jj_3R_113
private static final boolean jj_3R_113()
jj_3R_153
private static final boolean jj_3R_153()
jj_3R_152
private static final boolean jj_3R_152()
jj_3R_97
private static final boolean jj_3R_97()
jj_3R_151
private static final boolean jj_3R_151()
jj_3R_150
private static final boolean jj_3R_150()
jj_3R_148
private static final boolean jj_3R_148()
jj_3R_149
private static final boolean jj_3R_149()
jj_3R_144
private static final boolean jj_3R_144()
jj_3_8
private static final boolean jj_3_8()
jj_3R_141
private static final boolean jj_3R_141()
jj_3R_143
private static final boolean jj_3R_143()
jj_3R_147
private static final boolean jj_3R_147()
jj_3R_146
private static final boolean jj_3R_146()
jj_3R_142
private static final boolean jj_3R_142()
jj_3R_145
private static final boolean jj_3R_145()
jj_3R_140
private static final boolean jj_3R_140()
jj_3R_139
private static final boolean jj_3R_139()
jj_3_16
private static final boolean jj_3_16()
jj_3R_138
private static final boolean jj_3R_138()
jj_3_15
private static final boolean jj_3_15()
jj_3_14
private static final boolean jj_3_14()
jj_3R_137
private static final boolean jj_3R_137()
jj_3R_96
private static final boolean jj_3R_96()
jj_3R_136
private static final boolean jj_3R_136()
jj_3R_135
private static final boolean jj_3R_135()
jj_3R_131
private static final boolean jj_3R_131()
jj_3R_95
private static final boolean jj_3R_95()
jj_3R_126
private static final boolean jj_3R_126()
jj_3R_105
private static final boolean jj_3R_105()
jj_3R_120
private static final boolean jj_3R_120()
ReInit
public static void ReInit(InputStream stream)
ReInit
public static void ReInit(Reader stream)
ReInit
public void ReInit(IDLParserTokenManager tm)
jj_consume_token
private static final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
jj_scan_token
private static final boolean jj_scan_token(int kind)
getNextToken
public static final Token getNextToken()
getToken
public static final Token getToken(int index)
jj_ntk
private static final int jj_ntk()
jj_add_error_token
private static void jj_add_error_token(int kind,
int pos)
generateParseException
public static final ParseException generateParseException()
enable_tracing
public static final void enable_tracing()
disable_tracing
public static final void disable_tracing()
jj_rescan_token
private static final void jj_rescan_token()
jj_save
private static final void jj_save(int index,
int xla)