public class Parser extends Object implements ParserBasicInformation, TerminalTokens, OperatorIds, TypeIds
ACCEPT_ACTION, EOFT_SYMBOL, EOLT_SYMBOL, ERROR_ACTION, ERROR_SYMBOL, LA_STATE_OFFSET, MAX_LA, MAX_NAME_LENGTH, NT_OFFSET, NUM_NON_TERMINALS, NUM_RULES, NUM_STATES, NUM_SYMBOLS, NUM_TERMINALS, SCOPE_SIZE, SCOPE_UBOUND, START_STATETokenNameabstract, TokenNameAND, TokenNameAND_AND, TokenNameAND_EQUAL, TokenNameassert, TokenNameAT, TokenNameboolean, TokenNamebreak, TokenNamebyte, TokenNamecase, TokenNamecatch, TokenNamechar, TokenNameCharacterLiteral, TokenNameclass, TokenNameCOLON, TokenNameCOMMA, TokenNameCOMMENT_BLOCK, TokenNameCOMMENT_JAVADOC, TokenNameCOMMENT_LINE, TokenNameconst, TokenNamecontinue, TokenNamedefault, TokenNameDIVIDE, TokenNameDIVIDE_EQUAL, TokenNamedo, TokenNameDOT, TokenNamedouble, TokenNameDoubleLiteral, TokenNameELLIPSIS, TokenNameelse, TokenNameenum, TokenNameEOF, TokenNameEQUAL, TokenNameEQUAL_EQUAL, TokenNameERROR, TokenNameextends, TokenNamefalse, TokenNamefinal, TokenNamefinally, TokenNamefloat, TokenNameFloatingPointLiteral, TokenNamefor, TokenNamegoto, TokenNameGREATER, TokenNameGREATER_EQUAL, TokenNameIdentifier, TokenNameif, TokenNameimplements, TokenNameimport, TokenNameinstanceof, TokenNameint, TokenNameIntegerLiteral, TokenNameinterface, TokenNameLBRACE, TokenNameLBRACKET, TokenNameLEFT_SHIFT, TokenNameLEFT_SHIFT_EQUAL, TokenNameLESS, TokenNameLESS_EQUAL, TokenNamelong, TokenNameLongLiteral, TokenNameLPAREN, TokenNameMINUS, TokenNameMINUS_EQUAL, TokenNameMINUS_MINUS, TokenNameMULTIPLY, TokenNameMULTIPLY_EQUAL, TokenNamenative, TokenNamenew, TokenNameNOT, TokenNameNOT_EQUAL, TokenNamenull, TokenNameOR, TokenNameOR_EQUAL, TokenNameOR_OR, TokenNamepackage, TokenNamePLUS, TokenNamePLUS_EQUAL, TokenNamePLUS_PLUS, TokenNameprivate, TokenNameprotected, TokenNamepublic, TokenNameQUESTION, TokenNameRBRACE, TokenNameRBRACKET, TokenNameREMAINDER, TokenNameREMAINDER_EQUAL, TokenNamereturn, TokenNameRIGHT_SHIFT, TokenNameRIGHT_SHIFT_EQUAL, TokenNameRPAREN, TokenNameSEMICOLON, TokenNameshort, TokenNamestatic, TokenNamestrictfp, TokenNameStringLiteral, TokenNamesuper, TokenNameswitch, TokenNamesynchronized, TokenNamethis, TokenNamethrow, TokenNamethrows, TokenNametransient, TokenNametrue, TokenNametry, TokenNameTWIDDLE, TokenNameUNSIGNED_RIGHT_SHIFT, TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL, TokenNamevoid, TokenNamevolatile, TokenNamewhile, TokenNameWHITESPACE, TokenNameXOR, TokenNameXOR_EQUALAND, AND_AND, DIVIDE, EQUAL, EQUAL_EQUAL, GREATER, GREATER_EQUAL, INSTANCEOF, LEFT_SHIFT, LESS, LESS_EQUAL, MINUS, MINUS_MINUS, MULTIPLY, NOT, NOT_EQUAL, NumberOfTables, OR, OR_OR, PLUS, PLUS_PLUS, QUESTIONCOLON, REMAINDER, RIGHT_SHIFT, TWIDDLE, UNSIGNED_RIGHT_SHIFT, XORBitAutoCloseable, BitCloseable, BitResourceFreeCloseable, BitUninitialized, BitWrapperCloseable, Boolean2Boolean, Boolean2Int, Boolean2String, BOXING, Byte2Byte, Byte2Char, Byte2Double, Byte2Float, Byte2Int, Byte2Long, Byte2Short, Byte2String, Char2Byte, Char2Char, Char2Double, Char2Float, Char2Int, Char2Long, Char2Short, Char2String, COMPILE_TYPE_MASK, Double2Byte, Double2Char, Double2Double, Double2Float, Double2Int, Double2Long, Double2Short, Double2String, Float2Byte, Float2Char, Float2Double, Float2Float, Float2Int, Float2Long, Float2Short, Float2String, IMPLICIT_CONVERSION_MASK, InheritableBits, Int2Byte, Int2Char, Int2Double, Int2Float, Int2Int, Int2Long, Int2Short, Int2String, Long2Byte, Long2Char, Long2Double, Long2Float, Long2Int, Long2Long, Long2Short, Long2String, NoId, Null2Null, Null2String, Object2boolean, Object2byte, Object2char, Object2double, Object2float, Object2int, Object2long, Object2Object, Object2short, Object2String, Short2Byte, Short2Char, Short2Double, Short2Float, Short2Int, Short2Long, Short2Short, Short2String, String2String, T_boolean, T_byte, T_char, T_ComGoogleCommonBasePreconditions, T_ComGoogleInjectInject, T_ConfiguredAnnotationNonNull, T_ConfiguredAnnotationNonNullByDefault, T_ConfiguredAnnotationNullable, T_double, T_float, T_int, T_JavaIoException, T_JavaIoExternalizable, T_JavaIoObjectStreamException, T_JavaIoPrintStream, T_JavaIoSerializable, T_JavaLangAnnotationAnnotation, T_JavaLangAnnotationDocumented, T_JavaLangAnnotationElementType, T_JavaLangAnnotationInherited, T_JavaLangAnnotationRetention, T_JavaLangAnnotationRetentionPolicy, T_JavaLangAnnotationTarget, T_JavaLangAssertionError, T_JavaLangAutoCloseable, T_JavaLangBoolean, T_JavaLangByte, T_JavaLangCharacter, T_JavaLangClass, T_JavaLangClassNotFoundException, T_JavaLangCloneable, T_JavaLangDeprecated, T_JavaLangDouble, T_JavaLangEnum, T_JavaLangError, T_JavaLangException, T_JavaLangFloat, T_JavaLangIllegalArgumentException, T_JavaLangInteger, T_JavaLangInvokeMethodHandlePolymorphicSignature, T_JavaLangIterable, T_JavaLangLong, T_JavaLangNoClassDefError, T_JavaLangObject, T_JavaLangOverride, T_JavaLangReflectConstructor, T_JavaLangReflectField, T_JavaLangReflectMethod, T_JavaLangRuntimeException, T_JavaLangSafeVarargs, T_JavaLangShort, T_JavaLangString, T_JavaLangStringBuffer, T_JavaLangStringBuilder, T_JavaLangSuppressWarnings, T_JavaLangSystem, T_JavaLangThrowable, T_JavaLangVoid, T_JavaUtilCollection, T_JavaUtilIterator, T_JavaUtilObjects, T_JavaxInjectInject, T_JunitFrameworkAssert, T_long, T_null, T_OrgApacheCommonsLang3Validate, T_OrgApacheCommonsLangValidate, T_OrgEclipseCoreRuntimeAssert, T_OrgJunitAssert, T_short, T_undefined, T_void, UNBOXING| Constructor and Description |
|---|
Parser(ProblemReporter problemReporter,
boolean optimizeStringLiterals) |
protected static final int THIS_CALL
protected static final int SUPER_CALL
public static final char[] FALL_THROUGH_TAG
public static final char[] CASES_OMITTED_TAG
public static char[] asb
public static char[] asr
protected static final int AstStackIncrement
public static char[] base_action
public static final int BracketKinds
public static short[] check_table
public static final int CurlyBracket
protected static final int ExpressionStackIncrement
protected static final int GenericsStackIncrement
public static char[] in_symb
public static char[] lhs
public static String[] name
public static char[] nasb
public static char[] nasr
public static char[] non_terminal_index
public static String[] readableName
public static byte[] rhs
public static int[] reverse_index
public static char[] recovery_templates_index
public static char[] recovery_templates
public static char[] statements_recovery_filter
public static long[] rules_compliance
public static final int RoundBracket
public static byte[] scope_la
public static char[] scope_lhs
public static char[] scope_prefix
public static char[] scope_rhs
public static char[] scope_state
public static char[] scope_state_set
public static char[] scope_suffix
public static final int SquareBracket
protected static final int StackIncrement
public static char[] term_action
public static byte[] term_check
public static char[] terminal_index
public static boolean VERBOSE_RECOVERY
protected int astLengthPtr
protected int[] astLengthStack
protected int astPtr
protected ASTNode[] astStack
public CompilationUnitDeclaration compilationUnit
protected RecoveredElement currentElement
public int currentToken
protected boolean diet
protected int dietInt
protected int endPosition
protected int endStatementPosition
protected int expressionLengthPtr
protected int[] expressionLengthStack
protected int expressionPtr
protected Expression[] expressionStack
public int firstToken
protected int genericsIdentifiersLengthPtr
protected int[] genericsIdentifiersLengthStack
protected int genericsLengthPtr
protected int[] genericsLengthStack
protected int genericsPtr
protected ASTNode[] genericsStack
protected boolean hasError
protected boolean hasReportedError
protected int identifierLengthPtr
protected int[] identifierLengthStack
protected long[] identifierPositionStack
protected int identifierPtr
protected char[][] identifierStack
protected boolean ignoreNextOpeningBrace
protected int intPtr
protected int[] intStack
public int lastAct
protected int lastCheckPoint
protected int lastErrorEndPosition
protected int lastErrorEndPositionBeforeRecovery
protected int lastIgnoredToken
protected int nextIgnoredToken
protected int listLength
protected int listTypeParameterLength
protected int lParenPos
protected int rParenPos
protected int modifiers
protected int modifiersSourceStart
protected int[] nestedMethod
protected int nestedType
protected int dimensions
protected boolean optimizeStringLiterals
protected CompilerOptions options
protected ProblemReporter problemReporter
protected int rBraceStart
protected int rBraceEnd
protected int rBraceSuccessorStart
protected int realBlockPtr
protected int[] realBlockStack
protected int recoveredStaticInitializerStart
public ReferenceContext referenceContext
public boolean reportOnlyOneSyntaxError
public boolean reportSyntaxErrorIsRequired
protected boolean restartRecovery
protected boolean annotationRecoveryActivated
protected int lastPosistion
public boolean methodRecoveryActivated
protected boolean statementRecoveryActivated
protected TypeDeclaration[] recoveredTypes
protected int recoveredTypePtr
protected int nextTypeStart
protected TypeDeclaration pendingRecoveredType
public RecoveryScanner recoveryScanner
public Scanner scanner
protected int[] stack
protected int stateStackTop
protected int synchronizedBlockSourceStart
protected int[] variablesCounter
protected boolean checkExternalizeStrings
protected boolean recordStringLiterals
public Javadoc javadoc
public JavadocParser javadocParser
protected int lastJavadocEnd
public ReadManager readManager
public Parser(ProblemReporter problemReporter, boolean optimizeStringLiterals)
public static int asi(int state)
public static final short base_check(int i)
public static final void buildFilesFromLPG(String dataFilename, String dataFilename2)
protected static int[] computeReverseTable(char[] newTerminalIndex,
char[] newNonTerminalIndex,
String[] newName)
public static int in_symbol(int state)
public static final void initTables()
throws IOException
IOExceptionpublic static int nasi(int state)
public static int ntAction(int state,
int sym)
protected static int original_state(int state)
protected static byte[] readByteTable(String filename) throws IOException
IOExceptionprotected static long[] readLongTable(String filename) throws IOException
IOExceptionprotected static String[] readNameTable(String filename) throws IOException
IOExceptionprotected static char[] readTable(String filename) throws IOException
IOExceptionpublic static int tAction(int state,
int sym)
protected void annotationRecoveryCheckPoint(int start,
int end)
public void arrayInitializer(int length)
protected void blockReal()
public RecoveredElement buildInitialRecoveryState()
protected void checkAndSetModifiers(int flag)
public void checkComment()
protected void checkNonNLSAfterBodyEnd(int declarationEnd)
protected void classInstanceCreation(boolean isQualified)
protected void checkForDiamond(TypeReference allocType)
protected ParameterizedQualifiedTypeReference computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim)
protected void concatExpressionLists()
protected void concatGenericsLists()
protected void concatNodeLists()
protected void consumeAdditionalBound()
protected void consumeAdditionalBound1()
protected void consumeAdditionalBoundList()
protected void consumeAdditionalBoundList1()
protected void consumeAllocationHeader()
protected void consumeAnnotationAsModifier()
protected void consumeAnnotationName()
protected void consumeAnnotationTypeDeclaration()
protected void consumeAnnotationTypeDeclarationHeader()
protected void consumeAnnotationTypeDeclarationHeaderName()
protected void consumeAnnotationTypeDeclarationHeaderNameWithTypeParameters()
protected void consumeAnnotationTypeMemberDeclaration()
protected void consumeAnnotationTypeMemberDeclarations()
protected void consumeAnnotationTypeMemberDeclarationsopt()
protected void consumeArgumentList()
protected void consumeArguments()
protected void consumeArrayAccess(boolean unspecifiedReference)
protected void consumeArrayCreationExpressionWithInitializer()
protected void consumeArrayCreationExpressionWithoutInitializer()
protected void consumeArrayCreationHeader()
protected void consumeArrayInitializer()
protected void consumeArrayTypeWithTypeArgumentsName()
protected void consumeAssertStatement()
protected void consumeAssignment()
protected void consumeAssignmentOperator(int pos)
protected void consumeBinaryExpression(int op)
protected void consumeBinaryExpressionWithName(int op)
op - binary operatorprotected void consumeBlock()
protected void consumeBlockStatements()
protected void consumeCaseLabel()
protected void consumeCastExpressionLL1()
protected void consumeCastExpressionWithGenericsArray()
protected void consumeCastExpressionWithNameArray()
protected void consumeCastExpressionWithPrimitiveType()
protected void consumeCastExpressionWithQualifiedGenericsArray()
protected void consumeCatches()
protected void consumeCatchFormalParameter()
protected void consumeCatchHeader()
protected void consumeCatchType()
protected void consumeClassBodyDeclaration()
protected void consumeClassBodyDeclarations()
protected void consumeClassBodyDeclarationsopt()
protected void consumeClassBodyopt()
protected void consumeClassDeclaration()
protected void consumeClassHeader()
protected void consumeClassHeaderExtends()
protected void consumeClassHeaderImplements()
protected void consumeClassHeaderName1()
protected void consumeClassInstanceCreationExpression()
protected void consumeClassInstanceCreationExpressionName()
protected void consumeClassInstanceCreationExpressionQualified()
protected void consumeClassInstanceCreationExpressionQualifiedWithTypeArguments()
protected void consumeClassInstanceCreationExpressionWithTypeArguments()
protected void consumeClassOrInterface()
protected void consumeClassOrInterfaceName()
protected void consumeClassTypeElt()
protected void consumeClassTypeList()
protected void consumeCompilationUnit()
protected void consumeConditionalExpression(int op)
protected void consumeConditionalExpressionWithName(int op)
op - protected void consumeConstructorBlockStatements()
protected void consumeConstructorBody()
protected void consumeConstructorDeclaration()
protected void consumeConstructorHeader()
protected void consumeConstructorHeaderName()
protected void consumeConstructorHeaderNameWithTypeParameters()
protected void consumeCreateInitializer()
protected void consumeDefaultLabel()
protected void consumeDefaultModifiers()
protected void consumeDiet()
protected void consumeDims()
protected void consumeDimWithOrWithOutExpr()
protected void consumeDimWithOrWithOutExprs()
protected void consumeUnionType()
protected void consumeUnionTypeAsClassType()
protected void consumeEmptyAnnotationTypeMemberDeclarationsopt()
protected void consumeEmptyArgumentListopt()
protected void consumeEmptyArguments()
protected void consumeEmptyArrayInitializer()
protected void consumeEmptyArrayInitializeropt()
protected void consumeEmptyBlockStatementsopt()
protected void consumeEmptyCatchesopt()
protected void consumeEmptyClassBodyDeclarationsopt()
protected void consumeEmptyDimsopt()
protected void consumeEmptyEnumDeclarations()
protected void consumeEmptyExpression()
protected void consumeEmptyForInitopt()
protected void consumeEmptyForUpdateopt()
protected void consumeEmptyInterfaceMemberDeclarationsopt()
protected void consumeEmptyInternalCompilationUnit()
protected void consumeEmptyMemberValueArrayInitializer()
protected void consumeEmptyMemberValuePairsopt()
protected void consumeEmptyMethodHeaderDefaultValue()
protected void consumeEmptyStatement()
protected void consumeEmptySwitchBlock()
protected void consumeEmptyTypeDeclaration()
protected void consumeEnhancedForStatement()
protected void consumeEnhancedForStatementHeader()
protected void consumeEnhancedForStatementHeaderInit(boolean hasModifiers)
protected void consumeEnterAnonymousClassBody(boolean qualified)
protected void consumeEnterCompilationUnit()
protected void consumeEnterMemberValue()
protected void consumeEnterMemberValueArrayInitializer()
protected void consumeEnterVariable()
protected void consumeEnumBodyNoConstants()
protected void consumeEnumBodyWithConstants()
protected void consumeEnumConstantHeader()
protected void consumeEnumConstantHeaderName()
protected void consumeEnumConstantNoClassBody()
protected void consumeEnumConstants()
protected void consumeEnumConstantWithClassBody()
protected void consumeEnumDeclaration()
protected void consumeEnumDeclarations()
protected void consumeEnumHeader()
protected void consumeEnumHeaderName()
protected void consumeEnumHeaderNameWithTypeParameters()
protected void consumeEqualityExpression(int op)
protected void consumeEqualityExpressionWithName(int op)
protected void consumeExitMemberValue()
protected void consumeExitTryBlock()
protected void consumeExitVariableWithInitialization()
protected void consumeExitVariableWithoutInitialization()
protected void consumeExplicitConstructorInvocation(int flag,
int recFlag)
protected void consumeExplicitConstructorInvocationWithTypeArguments(int flag,
int recFlag)
protected void consumeExpressionStatement()
protected void consumeFieldAccess(boolean isSuperAccess)
protected void consumeFieldDeclaration()
protected void consumeForceNoDiet()
protected void consumeForInit()
protected void consumeFormalParameter(boolean isVarArgs)
protected void consumeFormalParameterList()
protected void consumeFormalParameterListopt()
protected void consumeGenericType()
protected void consumeGenericTypeArrayType()
protected void consumeGenericTypeNameArrayType()
protected void consumeGenericTypeWithDiamond()
protected void consumeImportDeclaration()
protected void consumeImportDeclarations()
protected void consumeInsideCastExpression()
protected void consumeInsideCastExpressionLL1()
protected void consumeInsideCastExpressionWithQualifiedGenerics()
protected void consumeInstanceOfExpression()
protected void consumeInstanceOfExpressionWithName()
protected void consumeInterfaceDeclaration()
protected void consumeInterfaceHeader()
protected void consumeInterfaceHeaderExtends()
protected void consumeInterfaceHeaderName1()
protected void consumeInterfaceMemberDeclarations()
protected void consumeInterfaceMemberDeclarationsopt()
protected void consumeInterfaceType()
protected void consumeInterfaceTypeList()
protected void consumeInternalCompilationUnit()
protected void consumeInternalCompilationUnitWithTypes()
protected void consumeInvalidAnnotationTypeDeclaration()
protected void consumeInvalidConstructorDeclaration()
protected void consumeInvalidConstructorDeclaration(boolean hasBody)
protected void consumeInvalidEnumDeclaration()
protected void consumeInvalidInterfaceDeclaration()
protected void consumeInvalidMethodDeclaration()
protected void consumeLabel()
protected void consumeLeftParen()
protected void consumeLocalVariableDeclaration()
protected void consumeLocalVariableDeclarationStatement()
protected void consumeMarkerAnnotation()
protected void consumeMemberValueArrayInitializer()
protected void consumeMemberValueAsName()
protected void consumeMemberValuePair()
protected void consumeMemberValuePairs()
protected void consumeMemberValues()
protected void consumeMethodBody()
protected void consumeMethodDeclaration(boolean isNotAbstract)
protected void consumeMethodHeader()
protected void consumeMethodHeaderDefaultValue()
protected void consumeMethodHeaderExtendedDims()
protected void consumeMethodHeaderName(boolean isAnnotationMethod)
protected void consumeMethodHeaderNameWithTypeParameters(boolean isAnnotationMethod)
protected void consumeMethodHeaderRightParen()
protected void consumeMethodHeaderThrowsClause()
protected void consumeMethodInvocationName()
protected void consumeMethodInvocationNameWithTypeArguments()
protected void consumeMethodInvocationPrimary()
protected void consumeMethodInvocationPrimaryWithTypeArguments()
protected void consumeMethodInvocationSuper()
protected void consumeMethodInvocationSuperWithTypeArguments()
protected void consumeModifiers()
protected void consumeModifiers2()
protected void consumeMultipleResources()
protected void consumeNameArrayType()
protected void consumeNestedMethod()
protected void consumeNestedType()
protected void consumeNormalAnnotation()
protected void consumeOneDimLoop()
protected void consumeOnlySynchronized()
protected void consumeOnlyTypeArguments()
protected void consumeOnlyTypeArgumentsForCastExpression()
protected void consumeOpenBlock()
protected void consumePackageComment()
protected void consumePackageDeclaration()
protected void consumePackageDeclarationName()
protected void consumePackageDeclarationNameWithModifiers()
protected void consumePostfixExpression()
protected void consumePrimaryNoNewArray()
protected void consumePrimaryNoNewArrayArrayType()
protected void consumePrimaryNoNewArrayName()
protected void consumePrimaryNoNewArrayNameSuper()
protected void consumePrimaryNoNewArrayNameThis()
protected void consumePrimaryNoNewArrayPrimitiveArrayType()
protected void consumePrimaryNoNewArrayPrimitiveType()
protected void consumePrimaryNoNewArrayThis()
protected void consumePrimaryNoNewArrayWithName()
protected void consumePrimitiveArrayType()
protected void consumePrimitiveType()
protected void consumePushLeftBrace()
protected void consumePushModifiers()
protected void consumePushModifiersForHeader()
protected void consumePushPosition()
protected void consumePushRealModifiers()
protected void consumeQualifiedName()
protected void consumeRecoveryMethodHeaderName()
protected void consumeRecoveryMethodHeaderNameWithTypeParameters()
protected void consumeReduceImports()
protected void consumeReferenceType()
protected void consumeReferenceType1()
protected void consumeReferenceType2()
protected void consumeReferenceType3()
protected void consumeResourceAsLocalVariableDeclaration()
protected void consumeResourceSpecification()
protected void consumeResourceOptionalTrailingSemiColon(boolean punctuated)
protected void consumeRestoreDiet()
protected void consumeRightParen()
protected void consumeRule(int act)
protected void consumeEnterInstanceCreationArgumentList()
protected void consumeSimpleAssertStatement()
protected void consumeSingleMemberAnnotation()
protected void consumeSingleMemberAnnotationMemberValue()
protected void consumeSingleResource()
protected void consumeSingleStaticImportDeclarationName()
protected void consumeSingleTypeImportDeclarationName()
protected void consumeStatementBreak()
protected void consumeStatementBreakWithLabel()
protected void consumeStatementCatch()
protected void consumeStatementContinue()
protected void consumeStatementContinueWithLabel()
protected void consumeStatementDo()
protected void consumeStatementExpressionList()
protected void consumeStatementFor()
protected void consumeStatementIfNoElse()
protected void consumeStatementIfWithElse()
protected void consumeStatementLabel()
protected void consumeStatementReturn()
protected void consumeStatementSwitch()
protected void consumeStatementSynchronized()
protected void consumeStatementThrow()
protected void consumeStatementTry(boolean withFinally,
boolean hasResources)
protected void consumeStatementWhile()
protected void consumeStaticImportOnDemandDeclarationName()
protected void consumeStaticInitializer()
protected void consumeStaticOnly()
protected void consumeSwitchBlock()
protected void consumeSwitchBlockStatement()
protected void consumeSwitchBlockStatements()
protected void consumeSwitchLabels()
protected void consumeToken(int type)
protected void consumeTypeArgument()
protected void consumeTypeArgumentList()
protected void consumeTypeArgumentList1()
protected void consumeTypeArgumentList2()
protected void consumeTypeArgumentList3()
protected void consumeTypeArgumentReferenceType1()
protected void consumeTypeArgumentReferenceType2()
protected void consumeTypeArguments()
protected void consumeTypeDeclarations()
protected void consumeTypeHeaderNameWithTypeParameters()
protected void consumeTypeImportOnDemandDeclarationName()
protected void consumeTypeParameter1()
protected void consumeTypeParameter1WithExtends()
protected void consumeTypeParameter1WithExtendsAndBounds()
protected void consumeTypeParameterHeader()
protected void consumeTypeParameterList()
protected void consumeTypeParameterList1()
protected void consumeTypeParameters()
protected void consumeTypeParameterWithExtends()
protected void consumeTypeParameterWithExtendsAndBounds()
protected void consumeUnaryExpression(int op)
protected void consumeUnaryExpression(int op,
boolean post)
protected void consumeVariableDeclarators()
protected void consumeVariableInitializers()
protected void consumeWildcard()
protected void consumeWildcard1()
protected void consumeWildcard1WithBounds()
protected void consumeWildcard2()
protected void consumeWildcard2WithBounds()
protected void consumeWildcard3()
protected void consumeWildcard3WithBounds()
protected void consumeWildcardBounds1Extends()
protected void consumeWildcardBounds1Super()
protected void consumeWildcardBounds2Extends()
protected void consumeWildcardBounds2Super()
protected void consumeWildcardBounds3Extends()
protected void consumeWildcardBounds3Super()
protected void consumeWildcardBoundsExtends()
protected void consumeWildcardBoundsSuper()
protected void consumeWildcardWithBounds()
public boolean containsComment(int sourceStart,
int sourceEnd)
sourceStart - intsourceEnd - intpublic MethodDeclaration convertToMethodDeclaration(ConstructorDeclaration c, CompilationResult compilationResult)
protected TypeReference copyDims(TypeReference typeRef, int dim)
protected FieldDeclaration createFieldDeclaration(char[] fieldDeclarationName, int sourceStart, int sourceEnd)
protected JavadocParser createJavadocParser()
protected LocalDeclaration createLocalDeclaration(char[] localDeclarationName, int sourceStart, int sourceEnd)
protected StringLiteral createStringLiteral(char[] token, int start, int end, int lineNumber)
protected RecoveredType currentRecoveryType()
public CompilationUnitDeclaration dietParse(ICompilationUnit sourceUnit, CompilationResult compilationResult)
protected void dispatchDeclarationInto(int length)
protected void dispatchDeclarationIntoEnumDeclaration(int length)
protected CompilationUnitDeclaration endParse(int act)
public int flushCommentsDefinedPriorTo(int position)
protected TypeReference getAnnotationType()
public int getFirstToken()
public int[] getJavaDocPositions()
public void getMethodBodies(CompilationUnitDeclaration unit)
protected char getNextCharacter(char[] comment,
int[] index)
protected Expression getTypeReference(Expression exp)
protected TypeReference getTypeReference(int dim)
protected TypeReference getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers)
protected NameReference getUnspecifiedReference()
protected NameReference getUnspecifiedReferenceOptimized()
public void goForBlockStatementsopt()
public void goForBlockStatementsOrCatchHeader()
public void goForClassBodyDeclarations()
public void goForCompilationUnit()
public void goForExpression()
public void goForFieldDeclaration()
public void goForGenericMethodDeclaration()
public void goForHeaders()
public void goForImportDeclaration()
public void goForInitializer()
public void goForMemberValue()
public void goForMethodBody()
public void goForPackageDeclaration()
public void goForTypeDeclaration()
public boolean hasLeadingTagComment(char[] commentPrefixTag,
int rangeEnd)
rangeEnd - intprotected void ignoreExpressionAssignment()
public void initialize()
public void initialize(boolean initializeNLS)
public void initializeScanner()
public void jumpOverMethodBody()
protected void markEnclosingMemberWithLocalType()
protected boolean moveRecoveryCheckpoint()
protected MessageSend newMessageSend()
protected MessageSend newMessageSendWithTypeArguments()
protected void optimizedConcatNodeLists()
protected void parse()
public void parse(ConstructorDeclaration cd, CompilationUnitDeclaration unit, boolean recordLineSeparator)
public void parse(FieldDeclaration field, TypeDeclaration type, CompilationUnitDeclaration unit, char[] initializationSource)
public CompilationUnitDeclaration parse(ICompilationUnit sourceUnit, CompilationResult compilationResult)
public CompilationUnitDeclaration parse(ICompilationUnit sourceUnit, CompilationResult compilationResult, int start, int end)
public void parse(Initializer initializer, TypeDeclaration type, CompilationUnitDeclaration unit)
public void parse(MethodDeclaration md, CompilationUnitDeclaration unit)
public ASTNode[] parseClassBodyDeclarations(char[] source, int offset, int length, CompilationUnitDeclaration unit)
public Expression parseExpression(char[] source, int offset, int length, CompilationUnitDeclaration unit)
public Expression parseMemberValue(char[] source, int offset, int length, CompilationUnitDeclaration unit)
public void parseStatements(ReferenceContext rc, int start, int end, TypeDeclaration[] types, CompilationUnitDeclaration unit)
public void persistLineSeparatorPositions()
protected void prepareForBlockStatements()
public ProblemReporter problemReporter()
protected void pushIdentifier()
protected void pushIdentifier(int flag)
protected void pushOnAstLengthStack(int pos)
protected void pushOnAstStack(ASTNode node)
protected void pushOnExpressionStack(Expression expr)
protected void pushOnExpressionStackLengthStack(int pos)
protected void pushOnGenericsIdentifiersLengthStack(int pos)
protected void pushOnGenericsLengthStack(int pos)
protected void pushOnGenericsStack(ASTNode node)
protected void pushOnIntStack(int pos)
protected void pushOnRealBlockStack(int i)
protected void recoverStatements()
public void recoveryExitFromVariable()
public void recoveryTokenCheck()
protected void reportSyntaxErrors(boolean isDietParse,
int oldFirstToken)
protected void resetModifiers()
protected void resetStacks()
protected boolean resumeAfterRecovery()
protected boolean resumeOnSyntaxError()
public void setMethodsFullRecovery(boolean enabled)
public void setStatementsRecovery(boolean enabled)
protected void updateRecoveryState()
protected void updateSourceDeclarationParts(int variableDeclaratorsCounter)
protected void updateSourcePosition(Expression exp)
Copyright © 2013. All rights reserved.