org.apache.myfaces.buildtools.maven2.plugin.javascript.javascript20parser
Class JSParser20
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.javascript.javascript20parser.JSParser20
- All Implemented Interfaces:
- JSParser20Constants, JSParser20TreeConstants
public class JSParser20
- extends java.lang.Object
- implements JSParser20TreeConstants, JSParser20Constants
Fields inherited from interface org.apache.myfaces.buildtools.maven2.plugin.javascript.javascript20parser.JSParser20TreeConstants |
JJTADDITIVEEXPRESSION, JJTADDOP, JJTANNOTATABLEDIRECTIVE, JJTARGUMENTS, JJTARRAYLITERAL, JJTASSIGNEMENTOPERATOR, JJTASSIGNMENTEXPRESSION, JJTASSIGNMENTEXPRESSIONNOIN, JJTATTRIBUTE, JJTATTRIBUTEEXPRESSION, JJTATTRIBUTES, JJTBITWISEANDEXPRESSION, JJTBITWISEANDEXPRESSIONNOIN, JJTBITWISEANDOP, JJTBITWISEOREXPRESSION, JJTBITWISEOREXPRESSIONNOIN, JJTBITWISEOROP, JJTBITWISEXOREXPRESSION, JJTBITWISEXOREXPRESSIONNOIN, JJTBITWISEXOROP, JJTBLOCK, JJTBREAKSTATEMENT, JJTCASEELEMENT, JJTCASEELEMENTS, JJTCASELABEL, JJTCLASSDEFINITION, JJTCONDITIONALEXPRESSION, JJTCONDITIONALEXPRESSIONNOIN, JJTCONTINUESTATEMENT, JJTDIRECTIVE, JJTDIRECTIVES, JJTDOSTATEMENT, JJTELEMENTLIST, JJTEMPTYSTATEMENT, JJTEOLCOMMENTSKIPWS, JJTEQUALITYEXPRESSION, JJTEQUALITYEXPRESSIONNOIN, JJTEQUALOP, JJTEXPORTBINDING, JJTEXPORTBINDINGLIST, JJTEXPORTDEFINITION, JJTEXPRESSIONQUALIFIEDIDENTIFIER, JJTEXPRESSIONSTATEMENT, JJTFIELDLIST, JJTFIELDNAME, JJTFORINBINDING, JJTFORINITIALIZER, JJTFORSTATEMENT, JJTFULLNEWEXPRESSION, JJTFULLNEWSUBEXPRESSION, JJTFULLPOSTFIXEXPRESSION, JJTFUNCTIONCOMMON, JJTFUNCTIONCONSTRUCTOR, JJTFUNCTIONDEFINITION, JJTFUNCTIONEXPRESSION, JJTFUNCTIONNAME, JJTIDENTIFIER, JJTIFSTATEMENT, JJTIMPORTDIRECTIVE, JJTINCLUDEDIRECTIVE, JJTINHERITANCE, JJTINTERFACEDEFINITION, JJTLABELEDSTATEMENT, JJTLISTEXPRESSION, JJTLISTEXPRESSIONNOIN, JJTLITERALELEMENT, JJTLITERALFIELD, JJTLOGICALANDEXPRESSION, JJTLOGICALANDEXPRESSIONNOIN, JJTLOGICALOREXPRESSION, JJTLOGICALOREXPRESSIONNOIN, JJTMULOP, JJTMULTIPLICATIVEEXPRESSION, JJTNAMESPACEDEFINITION, jjtNodeName, JJTNONASSIGNMENTEXPRESSION, JJTNONASSIGNMENTEXPRESSIONNOIN, JJTOBJECTLITERAL, JJTPACKAGEDEFINITION, JJTPACKAGEIDENTIFIERS, JJTPACKAGENAME, JJTPARAMETER, JJTPARAMETERINIT, JJTPARAMETERS, JJTPOSTFIXEXPRESSION, JJTPOSTFIXOP, JJTPRAGMA, JJTPRAGMAARGUMENT, JJTPRAGMAEXPR, JJTPRAGMAITEM, JJTPRAGMAITEMS, JJTPRIMARYEXPRESSION, JJTPROGRAM, JJTPROPERTYOPERATOR, JJTPROPERTYORARGUMENTS, JJTQUALIFIEDIDENTIFIER, JJTRELATIONALEXPRESSION, JJTRELATIONALEXPRESSIONNOIN, JJTRELOP, JJTRESERVEDNAMESPACE, JJTRESTPARAMETERS, JJTRESULT, JJTRETURNSTATEMENT, JJTSC, JJTSHIFTEXPRESSION, JJTSHIFTOP, JJTSIMPLEQUALIFIEDIDENTIFIER, JJTSIMPLEVARIABLEDEFINITION, JJTSTATEMENT, JJTSUBSTATEMENT, JJTSUBSTATEMENTS, JJTSUPEREXPRESSION, JJTSUPERSTATEMENT, JJTSWITCHSTATEMENT, JJTTHROWSTATEMENT, JJTTRYSTATEMENT, JJTTYPEDIDENTIFIER, JJTTYPEDIDENTIFIERNOIN, JJTTYPEEXPRESSION, JJTTYPEEXPRESSIONLIST, JJTTYPEEXPRESSIONNOIN, JJTUNARYEXPRESSION, JJTUNTYPEDVARIABLEBINDING, JJTUNTYPEDVARIABLEBINDINGLIST, JJTUSEDIRECTIVE, JJTVARIABLEBINDING, JJTVARIABLEBINDINGLIST, JJTVARIABLEBINDINGLISTNOIN, JJTVARIABLEBINDINGNOIN, JJTVARIABLEDEFINITION, JJTVARIABLEDEFINITIONKIND, JJTVARIABLEDEFINITIONNOIN, JJTVARIABLEINITIALISATION, JJTVARIABLEINITIALISATIONNOIN, JJTVARIABLEINITIALIZER, JJTVARIABLEINITIALIZERNOIN, JJTWHILESTATEMENT, JJTWITHSTATEMENT |
Fields inherited from interface org.apache.myfaces.buildtools.maven2.plugin.javascript.javascript20parser.JSParser20Constants |
_DEFAULT, ABSTRACT, ANDASSIGN, AS, ASSIGN, BANG, BIT_AND, BIT_OR, BREAK, CASE, CATCH, CLASS, COLON, COMMA, CONST, CONTINUE, DEBUGGER, DECIMAL_LITERAL, DECR, DEFAULT, DELETE, DIGIT, DO, DOT, ELIPSE, ELSE, ENUM, EOF, EOL, EQ, ESCAPE_SEQUENCE, EXPONENT, EXPORT, EXTENDS, FALSE, FINALLY, FLOATING_POINT_LITERAL, FOR, FUNCTION, FUNCTION_, GE, GET, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IDENTITYOPER, IF, IMPLEMENTS, IMPORT, IN, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCLUDE, INCR, INSTANCEOF, INTERFACE, IS, LBRACE, LBRACKET, LE, LETTER, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NAMESPACE, NATIVE, NE, NEW, NOTIDENTITYOPER, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, QUALIFIER, RBRACE, RBRACKET, REGEX_END_CHAR, REGULAR_EXPRESSION, REGX_BODY_CHAR, REGX_BODY_CHAR_EXCLUSION, REGX_START_CHAR, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_ANDASSIGN, SC_OR, SC_ORASSIGN, SC_XOR, SC_XORASSIGN, SEMICOLON, SET, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, TYPEOF, UNTERMINATED_STRING_LITERAL, USE, VAR, VOID, VOLATILE, WHILE, WITH, WS, XOR, XORASSIGN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected org.apache.myfaces.buildtools.maven2.plugin.javascript.javascript20parser.JJTJSParser20State jjtree
_jjtRoot
protected ASTProgram _jjtRoot
token_source
public JSParser20TokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
JSParser20
public JSParser20(java.io.InputStream stream)
JSParser20
public JSParser20(java.io.InputStream stream,
java.lang.String encoding)
JSParser20
public JSParser20(java.io.Reader stream)
JSParser20
public JSParser20(JSParser20TokenManager tm)
getRootNode
public ASTProgram getRootNode()
Program
public final Token Program()
throws ParseException
- Throws:
ParseException
Identifier
public final void Identifier()
throws ParseException
- Throws:
ParseException
SimpleQualifiedIdentifier
public final void SimpleQualifiedIdentifier()
throws ParseException
- Throws:
ParseException
ExpressionQualifiedIdentifier
public final void ExpressionQualifiedIdentifier()
throws ParseException
- Throws:
ParseException
QualifiedIdentifier
public final void QualifiedIdentifier()
throws ParseException
- Throws:
ParseException
PrimaryExpression
public final void PrimaryExpression()
throws ParseException
- Throws:
ParseException
ReservedNamespace
public final void ReservedNamespace()
throws ParseException
- Throws:
ParseException
FunctionExpression
public final void FunctionExpression()
throws ParseException
- Throws:
ParseException
ObjectLiteral
public final void ObjectLiteral()
throws ParseException
- Throws:
ParseException
FieldList
public final void FieldList()
throws ParseException
- Throws:
ParseException
LiteralField
public final void LiteralField()
throws ParseException
- Throws:
ParseException
FieldName
public final void FieldName()
throws ParseException
- Throws:
ParseException
ArrayLiteral
public final void ArrayLiteral()
throws ParseException
- Throws:
ParseException
ElementList
public final void ElementList()
throws ParseException
- Throws:
ParseException
LiteralElement
public final void LiteralElement()
throws ParseException
- Throws:
ParseException
SuperExpression
public final void SuperExpression()
throws ParseException
- Throws:
ParseException
PostfixExpression
public final void PostfixExpression()
throws ParseException
- Throws:
ParseException
AttributeExpression
public final void AttributeExpression()
throws ParseException
- Throws:
ParseException
FullPostfixExpression
public final void FullPostfixExpression()
throws ParseException
- Throws:
ParseException
FullNewExpression
public final void FullNewExpression()
throws ParseException
- Throws:
ParseException
FunctionConstructor
public final void FunctionConstructor()
throws ParseException
- Throws:
ParseException
FullNewSubexpression
public final void FullNewSubexpression()
throws ParseException
- Throws:
ParseException
PostfixOp
public final void PostfixOp()
throws ParseException
- Throws:
ParseException
PropertyOrArguments
public final void PropertyOrArguments()
throws ParseException
- Throws:
ParseException
PropertyOperator
public final void PropertyOperator()
throws ParseException
- Throws:
ParseException
Arguments
public final void Arguments()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final void UnaryExpression()
throws ParseException
- Throws:
ParseException
MulOp
public final void MulOp()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final void MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
AddOp
public final void AddOp()
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final void AdditiveExpression()
throws ParseException
- Throws:
ParseException
ShiftOp
public final void ShiftOp()
throws ParseException
- Throws:
ParseException
ShiftExpression
public final void ShiftExpression()
throws ParseException
- Throws:
ParseException
RelOp
public final void RelOp()
throws ParseException
- Throws:
ParseException
RelationalExpression
public final void RelationalExpression()
throws ParseException
- Throws:
ParseException
RelationalExpressionNoIN
public final void RelationalExpressionNoIN()
throws ParseException
- Throws:
ParseException
EqualOp
public final void EqualOp()
throws ParseException
- Throws:
ParseException
EqualityExpression
public final void EqualityExpression()
throws ParseException
- Throws:
ParseException
EqualityExpressionNoIN
public final void EqualityExpressionNoIN()
throws ParseException
- Throws:
ParseException
BitwiseANDOp
public final void BitwiseANDOp()
throws ParseException
- Throws:
ParseException
BitwiseANDExpression
public final void BitwiseANDExpression()
throws ParseException
- Throws:
ParseException
BitwiseANDExpressionNoIN
public final void BitwiseANDExpressionNoIN()
throws ParseException
- Throws:
ParseException
BitwiseXOROp
public final void BitwiseXOROp()
throws ParseException
- Throws:
ParseException
BitwiseXORExpression
public final void BitwiseXORExpression()
throws ParseException
- Throws:
ParseException
BitwiseXORExpressionNoIN
public final void BitwiseXORExpressionNoIN()
throws ParseException
- Throws:
ParseException
BitwiseOROp
public final void BitwiseOROp()
throws ParseException
- Throws:
ParseException
BitwiseORExpression
public final void BitwiseORExpression()
throws ParseException
- Throws:
ParseException
BitwiseORExpressionNoIN
public final void BitwiseORExpressionNoIN()
throws ParseException
- Throws:
ParseException
LogicalANDExpression
public final void LogicalANDExpression()
throws ParseException
- Throws:
ParseException
LogicalANDExpressionNoIN
public final void LogicalANDExpressionNoIN()
throws ParseException
- Throws:
ParseException
LogicalORExpression
public final void LogicalORExpression()
throws ParseException
- Throws:
ParseException
LogicalORExpressionNoIN
public final void LogicalORExpressionNoIN()
throws ParseException
- Throws:
ParseException
ConditionalExpression
public final void ConditionalExpression()
throws ParseException
- Throws:
ParseException
ConditionalExpressionNoIN
public final void ConditionalExpressionNoIN()
throws ParseException
- Throws:
ParseException
NonAssignmentExpression
public final void NonAssignmentExpression()
throws ParseException
- Throws:
ParseException
NonAssignmentExpressionNoIN
public final void NonAssignmentExpressionNoIN()
throws ParseException
- Throws:
ParseException
AssignementOperator
public final void AssignementOperator()
throws ParseException
- Throws:
ParseException
AssignmentExpression
public final void AssignmentExpression()
throws ParseException
- Throws:
ParseException
AssignmentExpressionNoIN
public final void AssignmentExpressionNoIN()
throws ParseException
- Throws:
ParseException
ListExpression
public final void ListExpression()
throws ParseException
- Throws:
ParseException
ListExpressionNoIN
public final void ListExpressionNoIN()
throws ParseException
- Throws:
ParseException
TypeExpression
public final void TypeExpression()
throws ParseException
- Throws:
ParseException
TypeExpressionNoIN
public final void TypeExpressionNoIN()
throws ParseException
- Throws:
ParseException
TypeExpressionList
public final void TypeExpressionList()
throws ParseException
- Throws:
ParseException
Statement
public final void Statement()
throws ParseException
- Throws:
ParseException
Substatement
public final void Substatement()
throws ParseException
- Throws:
ParseException
Substatements
public final void Substatements()
throws ParseException
- Throws:
ParseException
EmptyStatement
public final void EmptyStatement()
throws ParseException
- Throws:
ParseException
ExpressionStatement
public final void ExpressionStatement()
throws ParseException
- Throws:
ParseException
SuperStatement
public final void SuperStatement()
throws ParseException
- Throws:
ParseException
Block
public final void Block()
throws ParseException
- Throws:
ParseException
LabeledStatement
public final void LabeledStatement()
throws ParseException
- Throws:
ParseException
IfStatement
public final void IfStatement()
throws ParseException
- Throws:
ParseException
SwitchStatement
public final void SwitchStatement()
throws ParseException
- Throws:
ParseException
CaseElements
public final void CaseElements()
throws ParseException
- Throws:
ParseException
CaseElement
public final void CaseElement()
throws ParseException
- Throws:
ParseException
CaseLabel
public final void CaseLabel()
throws ParseException
- Throws:
ParseException
DoStatement
public final void DoStatement()
throws ParseException
- Throws:
ParseException
WhileStatement
public final void WhileStatement()
throws ParseException
- Throws:
ParseException
ForStatement
public final void ForStatement()
throws ParseException
- Throws:
ParseException
ForInitializer
public final void ForInitializer()
throws ParseException
- Throws:
ParseException
ForInBinding
public final void ForInBinding()
throws ParseException
- Throws:
ParseException
WithStatement
public final void WithStatement()
throws ParseException
- Throws:
ParseException
ContinueStatement
public final void ContinueStatement()
throws ParseException
- Throws:
ParseException
BreakStatement
public final void BreakStatement()
throws ParseException
- Throws:
ParseException
ReturnStatement
public final void ReturnStatement()
throws ParseException
- Throws:
ParseException
ThrowStatement
public final void ThrowStatement()
throws ParseException
- Throws:
ParseException
TryStatement
public final void TryStatement()
throws ParseException
- Throws:
ParseException
Directives
public final void Directives()
throws ParseException
- Throws:
ParseException
Directive
public final void Directive()
throws ParseException
- Throws:
ParseException
AnnotatableDirective
public final void AnnotatableDirective()
throws ParseException
- Throws:
ParseException
Attributes
public final void Attributes()
throws ParseException
- Throws:
ParseException
Attribute
public final void Attribute()
throws ParseException
- Throws:
ParseException
UseDirective
public final void UseDirective()
throws ParseException
- Throws:
ParseException
ImportDirective
public final void ImportDirective()
throws ParseException
- Throws:
ParseException
IncludeDirective
public final void IncludeDirective()
throws ParseException
- Throws:
ParseException
Pragma
public final void Pragma()
throws ParseException
- Throws:
ParseException
PragmaItems
public final void PragmaItems()
throws ParseException
- Throws:
ParseException
PragmaItem
public final void PragmaItem()
throws ParseException
- Throws:
ParseException
PragmaExpr
public final void PragmaExpr()
throws ParseException
- Throws:
ParseException
PragmaArgument
public final void PragmaArgument()
throws ParseException
- Throws:
ParseException
ExportDefinition
public final void ExportDefinition()
throws ParseException
- Throws:
ParseException
ExportBindingList
public final void ExportBindingList()
throws ParseException
- Throws:
ParseException
ExportBinding
public final void ExportBinding()
throws ParseException
- Throws:
ParseException
VariableDefinition
public final void VariableDefinition()
throws ParseException
- Throws:
ParseException
VariableDefinitionNoIN
public final void VariableDefinitionNoIN()
throws ParseException
- Throws:
ParseException
VariableDefinitionKind
public final void VariableDefinitionKind()
throws ParseException
- Throws:
ParseException
VariableBindingList
public final void VariableBindingList()
throws ParseException
- Throws:
ParseException
VariableBindingListNoIN
public final void VariableBindingListNoIN()
throws ParseException
- Throws:
ParseException
VariableBinding
public final void VariableBinding()
throws ParseException
- Throws:
ParseException
VariableBindingNoIN
public final void VariableBindingNoIN()
throws ParseException
- Throws:
ParseException
VariableInitialisation
public final void VariableInitialisation()
throws ParseException
- Throws:
ParseException
VariableInitialisationNoIN
public final void VariableInitialisationNoIN()
throws ParseException
- Throws:
ParseException
VariableInitializer
public final void VariableInitializer()
throws ParseException
- Throws:
ParseException
VariableInitializerNoIN
public final void VariableInitializerNoIN()
throws ParseException
- Throws:
ParseException
TypedIdentifier
public final void TypedIdentifier()
throws ParseException
- Throws:
ParseException
TypedIdentifierNoIN
public final void TypedIdentifierNoIN()
throws ParseException
- Throws:
ParseException
SimpleVariableDefinition
public final void SimpleVariableDefinition()
throws ParseException
- Throws:
ParseException
UntypedVariableBindingList
public final void UntypedVariableBindingList()
throws ParseException
- Throws:
ParseException
UntypedVariableBinding
public final void UntypedVariableBinding()
throws ParseException
- Throws:
ParseException
FunctionDefinition
public final void FunctionDefinition()
throws ParseException
- Throws:
ParseException
FunctionName
public final void FunctionName()
throws ParseException
- Throws:
ParseException
FunctionCommon
public final void FunctionCommon()
throws ParseException
- Throws:
ParseException
Parameters
public final void Parameters()
throws ParseException
- Throws:
ParseException
Parameter
public final void Parameter()
throws ParseException
- Throws:
ParseException
ParameterInit
public final void ParameterInit()
throws ParseException
- Throws:
ParseException
RestParameters
public final void RestParameters()
throws ParseException
- Throws:
ParseException
Result
public final void Result()
throws ParseException
- Throws:
ParseException
ClassDefinition
public final void ClassDefinition()
throws ParseException
- Throws:
ParseException
InterfaceDefinition
public final void InterfaceDefinition()
throws ParseException
- Throws:
ParseException
Inheritance
public final void Inheritance()
throws ParseException
- Throws:
ParseException
NamespaceDefinition
public final void NamespaceDefinition()
throws ParseException
- Throws:
ParseException
PackageDefinition
public final void PackageDefinition()
throws ParseException
- Throws:
ParseException
PackageName
public final void PackageName()
throws ParseException
- Throws:
ParseException
PackageIdentifiers
public final void PackageIdentifiers()
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(JSParser20TokenManager 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()
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.