gov.llnl.babel.parsers.sidl2
Class SIDLParser
java.lang.Object
   gov.llnl.babel.parsers.sidl2.SIDLParser
gov.llnl.babel.parsers.sidl2.SIDLParser
- All Implemented Interfaces: 
- SIDLParserConstants, SIDLParserTreeConstants
- public class SIDLParser 
- extends java.lang.Object- implements SIDLParserTreeConstants, SIDLParserConstants
 
| Fields inherited from interface gov.llnl.babel.parsers.sidl2.SIDLParserTreeConstants | 
| JJTADD, JJTAND, JJTARG, JJTARGATTR, JJTARGATTRS, JJTARGLIST, JJTARRAY, JJTASSERTION, JJTBITWISE, JJTCLASS, JJTCOMPLEX, JJTCUSTOMATTR, JJTDIMENSION, JJTENSURES, JJTENUM, JJTENUMERATOR, JJTEQUALITY, JJTEXCEPTCLAUSE, JJTEXTENDSLIST, JJTEXTENDSONE, JJTEXTENSION, JJTEXTENT, JJTEXTENTS, JJTFROMCLAUSE, JJTFUNC, JJTFUNCARGS, JJTGTLT, JJTIMPLEMENTSALLLIST, JJTIMPLEMENTSLIST, JJTIMPLICATION, JJTIMPORT, JJTINTEGER, JJTINTERFACE, JJTINVARIANTS, JJTLITERAL, JJTMETHOD, JJTMETHODATTR, JJTMETHODATTRS, JJTMETHODNAME, JJTMODE, JJTMULT, JJTNAME, jjtNodeName, JJTNUMBER, JJTOR, JJTORIENTATION, JJTPACKAGE, JJTPOWER, JJTPRIMATIVETYPE, JJTRARRAY, JJTREQUIRE, JJTREQUIRES, JJTRETURNTYPE, JJTSCALARTYPE, JJTSCOPEDID, JJTSHIFT, JJTSHORTNAME, JJTSTART, JJTSTRUCT, JJTSTRUCTITEM, JJTTYPEATTR, JJTTYPEATTRS, JJTUNARY, JJTUSERTYPE, JJTVERSION, JJTVOID | 
 
| Fields inherited from interface gov.llnl.babel.parsers.sidl2.SIDLParserConstants | 
| ABSTRACT, ARRAY, ASSIGN, ATTRIB_BEGIN, ATTRIB_COMMA, ATTRIB_END, ATTRIB_EQ, ATTRIB_ID, ATTRIB_STRING, BITWISE_AND, BITWISE_OR, BITWISE_XOR, BOOLEAN, BOOLEAN_LITERAL, CHAR, CHARACTER_LITERAL, CLASS, COLON, COLUMN_MAJOR, COMMA, COPY, DCOMPLEX, DECIMAL_LITERAL, DEFAULT, DIGIT, DOC_COMMENT, DOT, DOUBLE, ELSE, ENSURE, ENUM, EOF, EQ, EXPONENT, EXTENDS, EXTENSION, FALSE, FCOMPLEX, FINAL, FLOAT, FLOATING_POINT_LITERAL, FROM, GE, GT, HEX_LITERAL, IDENTIFIER, IFF, IMPLEMENTS, IMPLEMENTS_ALL, IMPLIES, IMPORT, IN, IN_ATTRIB_LIST, IN_DOC_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INOUT, INT, INTEGER_LITERAL, INTERFACE, INVARIANT, IS, LBRACE, LBRACKET, LE, LETTER, LOCAL, LOGICAL_AND, LOGICAL_OR, LOGICAL_XOR, LONG, LPAREN, LSHIFT, LT, MINUS, MODULUS, MULTI_LINE_COMMENT, NE, NONBLOCKING, NOT, NULL, OCTAL_LITERAL, ONEWAY, OPAQUE, ORDER, OUT, PACKAGE, PLUS, POWER, PURE, RARRAY, RBRACE, RBRACKET, REMAINDER, REQUIRE, RESULT, ROW_MAJOR, RPAREN, RSHIFT, SEMICOLON, SIMPLE_FLOATING_POINT_LITERAL, SINGLE_LINE_COMMENT, SLASH, STAR, STATIC, STRING, STRING_LITERAL, STRUCT, THEN, THROWS, TILDE, tokenImage, TRUE, VERSION, VERSION_STRING, VOID | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
jjtree
protected gov.llnl.babel.parsers.sidl2.JJTSIDLParserState jjtree
token_source
public SIDLParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
SIDLParser
public SIDLParser(java.io.InputStream stream)
SIDLParser
public SIDLParser(java.io.InputStream stream,
                  java.lang.String encoding)
SIDLParser
public SIDLParser(java.io.Reader stream)
SIDLParser
public SIDLParser(SIDLParserTokenManager tm)
Start
public final ParseTreeNode Start()
                          throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Version
public final void Version()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Require
public final void Require()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Import
public final void Import()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Package
public final void Package()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
UserType
public final void UserType()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
TypeAttr
public final void TypeAttr()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Enum
public final void Enum()
                throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Enumerator
public final void Enumerator()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Struct
public final void Struct()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
StructItem
public final void StructItem()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Class
public final void Class()
                 throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Interface
public final void Interface()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ExtendsOne
public final void ExtendsOne()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ExtendsList
public final void ExtendsList()
                       throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ImplementsList
public final void ImplementsList()
                          throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ImplementsAllList
public final void ImplementsAllList()
                             throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Method
public final void Method()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
MethodAttr
public final void MethodAttr()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
MethodName
public final void MethodName()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ExceptClause
public final void ExceptClause()
                        throws ParseException
- 
 
- 
- Throws:
- ParseException
 
FromClause
public final void FromClause()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Invariants
public final void Invariants()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Requires
public final void Requires()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Ensures
public final void Ensures()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Assertion
public final void Assertion()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ArgList
public final void ArgList()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Arg
public final void Arg()
               throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ArgAttr
public final void ArgAttr()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
CustomAttrList
public final void CustomAttrList()
                          throws ParseException
- 
 
- 
- Throws:
- ParseException
 
CustomAttr
public final void CustomAttr()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Mode
public final void Mode()
                throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Type
public final void Type()
                throws ParseException
- 
 
- 
- Throws:
- ParseException
 
PrimativeType
public final void PrimativeType()
                         throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Array
public final void Array()
                 throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Rarray
public final void Rarray()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Extents
public final void Extents()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Extent
public final void Extent()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
SimpleIntExpression
public final void SimpleIntExpression()
                               throws ParseException
- 
 
- 
- Throws:
- ParseException
 
SimpleIntTerm
public final void SimpleIntTerm()
                         throws ParseException
- 
 
- 
- Throws:
- ParseException
 
SimpleIntPrimary
public final void SimpleIntPrimary()
                            throws ParseException
- 
 
- 
- Throws:
- ParseException
 
AssertExpr
public final void AssertExpr()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
OrExpr
public final void OrExpr()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
AndExpr
public final void AndExpr()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
BitwiseExpr
public final void BitwiseExpr()
                       throws ParseException
- 
 
- 
- Throws:
- ParseException
 
EqualityExpr
public final void EqualityExpr()
                        throws ParseException
- 
 
- 
- Throws:
- ParseException
 
RelationalExpr
public final void RelationalExpr()
                          throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ShiftExpr
public final void ShiftExpr()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
AddExpr
public final void AddExpr()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
MultExpr
public final void MultExpr()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
PowerExpr
public final void PowerExpr()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
UnaryExpr
public final void UnaryExpr()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
FuncEval
public final void FuncEval()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
FuncArgs
public final void FuncArgs()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
PrimaryExpr
public final void PrimaryExpr()
                       throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ScopedID
public final void ScopedID()
                    throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Name
public final void Name()
                throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Identifier
public final void Identifier()
                      throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Extension
public final void Extension()
                     throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Literal
public final void Literal()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Complex
public final void Complex()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Number
public final void Number()
                  throws ParseException
- 
 
- 
- Throws:
- ParseException
 
Integer
public final void Integer()
                   throws ParseException
- 
 
- 
- Throws:
- ParseException
 
ReInit
public void ReInit(java.io.InputStream stream)
- 
 
- 
 
ReInit
public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
- 
 
- 
 
ReInit
public void ReInit(java.io.Reader stream)
- 
 
- 
 
ReInit
public void ReInit(SIDLParserTokenManager tm)
- 
 
- 
 
getNextToken
public final Token getNextToken()
- 
 
- 
 
getToken
public final Token getToken(int index)
- 
 
- 
 
generateParseException
public ParseException generateParseException()
- 
 
- 
 
enable_tracing
public final void enable_tracing()
- 
 
- 
 
disable_tracing
public final void disable_tracing()
- 
 
-