org.portico.impl.hla13.fomparser
Class FOM
java.lang.Object
org.portico.impl.hla13.fomparser.FOM
- All Implemented Interfaces:
- FOMConstants
public class FOM
- extends Object
- implements FOMConstants
Fields inherited from interface org.portico.impl.hla13.fomparser.FOMConstants |
ALPHA, ATTRIBUTE, CHAR, CLASS, DEFAULT, DIMENSION, EOF, FED, FEDERATION, FEDVERSION, IN_SINGLE_LINE_COMMENT, INTERACTIONS, NUMERIC, OBJECTS, P_CLOSE, P_OPEN, PARAMETER, SINGLE_LINE_COMMENT, SPACE, SPACES, STRING, SYMBOL, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public FOMTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_ntk
private int jj_ntk
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private static int[] jj_la1_0
jj_expentries
private Vector<int[]> jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
FOM
public FOM(InputStream stream)
FOM
public FOM(InputStream stream,
String encoding)
FOM
public FOM(Reader stream)
FOM
public FOM(FOMTokenManager tm)
parseFOM
public static ObjectModel parseFOM(URL fom)
throws hla.rti.CouldNotOpenFED,
hla.rti.ErrorReadingFED
- Throws:
hla.rti.CouldNotOpenFED
hla.rti.ErrorReadingFED
parseFOM
public static ObjectModel parseFOM(InputStream istream)
throws hla.rti.CouldNotOpenFED,
hla.rti.ErrorReadingFED
- Throws:
hla.rti.CouldNotOpenFED
hla.rti.ErrorReadingFED
parse
public final void parse(ObjectModel theModel)
throws ParseException
- Throws:
ParseException
federation
public final void federation()
throws ParseException
- Throws:
ParseException
fedVersion
public final void fedVersion()
throws ParseException
- Throws:
ParseException
spaces
public final void spaces(ObjectModel theModel)
throws ParseException
- ROUTING SPACE PRODUCTIONS
- Throws:
ParseException
space
public final void space(ObjectModel theModel)
throws ParseException
- Throws:
ParseException
dimension
public final void dimension(ObjectModel theModel,
Space theSpace)
throws ParseException
- Throws:
ParseException
objects
public final void objects(ObjectModel theModel)
throws ParseException
- OBJECT CLASS PRODUCTIONS
- Throws:
ParseException
objectClass
public final void objectClass(ObjectModel theModel,
OCMetadata parent)
throws ParseException
- Throws:
ParseException
objectAttribute
public final void objectAttribute(OCMetadata theClass,
ObjectModel theModel)
throws ParseException,
ParseException
- Throws:
ParseException
interactions
public final void interactions(ObjectModel theModel)
throws ParseException
- INTERACTION CLASS PRODUCTIONS
- Throws:
ParseException
interactionClass
public final void interactionClass(ObjectModel theModel,
ICMetadata parent)
throws ParseException
- Throws:
ParseException
interactionParameter
public final void interactionParameter(ICMetadata theInteraction,
ObjectModel theModel)
throws ParseException
- Throws:
ParseException
transport
public final Transport transport()
throws ParseException
- SUPPORTING PRODUCTIONS
- Throws:
ParseException
order
public final Order order()
throws ParseException
- Throws:
ParseException
stringValue
public final String stringValue()
throws ParseException
- Throws:
ParseException
jj_la1_0
private static void jj_la1_0()
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(FOMTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_ntk
private final int jj_ntk()
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()