public class SIDLParser extends java.lang.Object implements SIDLParserTreeConstants, SIDLParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt |
protected gov.llnl.babel.parsers.sidl2.JJTSIDLParserState |
jjtree |
boolean |
lookingAhead |
Token |
token |
SIDLParserTokenManager |
token_source |
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, JJTVOIDABSTRACT, 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| Constructor and Description |
|---|
SIDLParser(java.io.InputStream stream) |
SIDLParser(java.io.InputStream stream,
java.lang.String encoding) |
SIDLParser(java.io.Reader stream) |
SIDLParser(SIDLParserTokenManager tm) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddExpr() |
void |
AndExpr() |
void |
Arg() |
void |
ArgAttr() |
void |
ArgList() |
void |
Array() |
void |
AssertExpr() |
void |
Assertion() |
void |
BitwiseExpr() |
void |
Class() |
void |
Complex() |
void |
CustomAttr() |
void |
CustomAttrList() |
void |
disable_tracing() |
void |
enable_tracing() |
void |
Ensures() |
void |
Enum() |
void |
Enumerator() |
void |
EqualityExpr() |
void |
ExceptClause() |
void |
ExtendsList() |
void |
ExtendsOne() |
void |
Extension() |
void |
Extent() |
void |
Extents() |
void |
FromClause() |
void |
FuncArgs() |
void |
FuncEval() |
ParseException |
generateParseException() |
Token |
getNextToken() |
Token |
getToken(int index) |
void |
Identifier() |
void |
ImplementsAllList() |
void |
ImplementsList() |
void |
Import() |
void |
Integer() |
void |
Interface() |
void |
Invariants() |
void |
Literal() |
void |
Method() |
void |
MethodAttr() |
void |
MethodName() |
void |
Mode() |
void |
MultExpr() |
void |
Name() |
void |
Number() |
void |
OrExpr() |
void |
Package() |
void |
PowerExpr() |
void |
PrimaryExpr() |
void |
PrimativeType() |
void |
Rarray() |
void |
ReInit(java.io.InputStream stream) |
void |
ReInit(java.io.InputStream stream,
java.lang.String encoding) |
void |
ReInit(java.io.Reader stream) |
void |
ReInit(SIDLParserTokenManager tm) |
void |
RelationalExpr() |
void |
Require() |
void |
Requires() |
void |
ScopedID() |
void |
ShiftExpr() |
void |
SimpleIntExpression() |
void |
SimpleIntPrimary() |
void |
SimpleIntTerm() |
ParseTreeNode |
Start() |
void |
Struct() |
void |
StructItem() |
void |
Type() |
void |
TypeAttr() |
void |
UnaryExpr() |
void |
UserType() |
void |
Version() |
protected gov.llnl.babel.parsers.sidl2.JJTSIDLParserState jjtree
public SIDLParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public SIDLParser(java.io.InputStream stream)
public SIDLParser(java.io.InputStream stream,
java.lang.String encoding)
public SIDLParser(java.io.Reader stream)
public SIDLParser(SIDLParserTokenManager tm)
public final ParseTreeNode Start() throws ParseException
ParseExceptionpublic final void Version()
throws ParseException
ParseExceptionpublic final void Require()
throws ParseException
ParseExceptionpublic final void Import()
throws ParseException
ParseExceptionpublic final void Package()
throws ParseException
ParseExceptionpublic final void UserType()
throws ParseException
ParseExceptionpublic final void TypeAttr()
throws ParseException
ParseExceptionpublic final void Enum()
throws ParseException
ParseExceptionpublic final void Enumerator()
throws ParseException
ParseExceptionpublic final void Struct()
throws ParseException
ParseExceptionpublic final void StructItem()
throws ParseException
ParseExceptionpublic final void Class()
throws ParseException
ParseExceptionpublic final void Interface()
throws ParseException
ParseExceptionpublic final void ExtendsOne()
throws ParseException
ParseExceptionpublic final void ExtendsList()
throws ParseException
ParseExceptionpublic final void ImplementsList()
throws ParseException
ParseExceptionpublic final void ImplementsAllList()
throws ParseException
ParseExceptionpublic final void Method()
throws ParseException
ParseExceptionpublic final void MethodAttr()
throws ParseException
ParseExceptionpublic final void MethodName()
throws ParseException
ParseExceptionpublic final void ExceptClause()
throws ParseException
ParseExceptionpublic final void FromClause()
throws ParseException
ParseExceptionpublic final void Invariants()
throws ParseException
ParseExceptionpublic final void Requires()
throws ParseException
ParseExceptionpublic final void Ensures()
throws ParseException
ParseExceptionpublic final void Assertion()
throws ParseException
ParseExceptionpublic final void ArgList()
throws ParseException
ParseExceptionpublic final void Arg()
throws ParseException
ParseExceptionpublic final void ArgAttr()
throws ParseException
ParseExceptionpublic final void CustomAttrList()
throws ParseException
ParseExceptionpublic final void CustomAttr()
throws ParseException
ParseExceptionpublic final void Mode()
throws ParseException
ParseExceptionpublic final void Type()
throws ParseException
ParseExceptionpublic final void PrimativeType()
throws ParseException
ParseExceptionpublic final void Array()
throws ParseException
ParseExceptionpublic final void Rarray()
throws ParseException
ParseExceptionpublic final void Extents()
throws ParseException
ParseExceptionpublic final void Extent()
throws ParseException
ParseExceptionpublic final void SimpleIntExpression()
throws ParseException
ParseExceptionpublic final void SimpleIntTerm()
throws ParseException
ParseExceptionpublic final void SimpleIntPrimary()
throws ParseException
ParseExceptionpublic final void AssertExpr()
throws ParseException
ParseExceptionpublic final void OrExpr()
throws ParseException
ParseExceptionpublic final void AndExpr()
throws ParseException
ParseExceptionpublic final void BitwiseExpr()
throws ParseException
ParseExceptionpublic final void EqualityExpr()
throws ParseException
ParseExceptionpublic final void RelationalExpr()
throws ParseException
ParseExceptionpublic final void ShiftExpr()
throws ParseException
ParseExceptionpublic final void AddExpr()
throws ParseException
ParseExceptionpublic final void MultExpr()
throws ParseException
ParseExceptionpublic final void PowerExpr()
throws ParseException
ParseExceptionpublic final void UnaryExpr()
throws ParseException
ParseExceptionpublic final void FuncEval()
throws ParseException
ParseExceptionpublic final void FuncArgs()
throws ParseException
ParseExceptionpublic final void PrimaryExpr()
throws ParseException
ParseExceptionpublic final void ScopedID()
throws ParseException
ParseExceptionpublic final void Name()
throws ParseException
ParseExceptionpublic final void Identifier()
throws ParseException
ParseExceptionpublic final void Extension()
throws ParseException
ParseExceptionpublic final void Literal()
throws ParseException
ParseExceptionpublic final void Complex()
throws ParseException
ParseExceptionpublic final void Number()
throws ParseException
ParseExceptionpublic final void Integer()
throws ParseException
ParseExceptionpublic void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(SIDLParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()