Uses of Class
gw.internal.gosu.parser.ParsedElement
-
Packages that use ParsedElement Package Description gw.internal.gosu.parser gw.internal.gosu.parser.expressions gw.internal.gosu.parser.statements -
-
Uses of ParsedElement in gw.internal.gosu.parser
Subclasses of ParsedElement in gw.internal.gosu.parser Modifier and Type Class Description classDefaultParamValueLiteralclassExpressionThe root class for all Expressions represented in a parse tree as specified in the Gosu grammar.classParenthesizedExpressionclassStatementThe root class for all Statements represented in a parse tree.Fields in gw.internal.gosu.parser declared as ParsedElement Modifier and Type Field Description private ParsedElementParseTree. _peFields in gw.internal.gosu.parser with type parameters of type ParsedElement Modifier and Type Field Description private Stack<ParsedElement>GosuParser. _stackMethods in gw.internal.gosu.parser with type parameters of type ParsedElement Modifier and Type Method Description private <T extends ParsedElement>
TGosuDocAnnotation. initLocation(T pe)Methods in gw.internal.gosu.parser that return ParsedElement Modifier and Type Method Description ParsedElementParseTree. getParsedElement()protected ParsedElementGosuParser. peekParsedElement()Methods in gw.internal.gosu.parser with parameters of type ParsedElement Modifier and Type Method Description (package private) booleanGosuParser. _parseTypeVariableDefinition(ParsedElement parsedElem, TypeVariableDefinition typeVarDef, boolean bFirstPass)(package private) voidParserBase. addError(ParsedElement parsedElement, ResourceKey errorMsg)(package private) voidParserBase. addError(ParsedElement parsedElement, ResourceKey errorMsg, java.lang.Object... args)(package private) voidGosuParser. addMisingArgsWithDefaultValues(ParsedElement element, IInvocableType funcType, java.util.List<Expression> argExpressions, java.util.List<LightweightParserState> parserStates, boolean bShouldScoreMethods)private static booleanParserBase. assertBoxedOrBigNumber(ParserBase parser, ParsedElement parsedElement, IType rhsType, int op)private voidGosuParser. assignRuntime(ParsedElement elem, boolean bIsolatedScope, IFileContext context, IType superType, IScriptPartId partId)protected ISymbolParserBase. captureSymbol(ICompilableTypeInternal anonClass, java.lang.String strName, ParsedElement e)(package private) voidParserBase. eatParenthesized(ParsedElement parsedElement, ResourceKey errorKey)(package private) booleanParserBase. eatStatementBlock(ParsedElement parsedElement, ResourceKey errorKey)ParseTreeParserBase. findAndWrapLocation(Expression oldExpr, ParsedElement newExpr)private static ITypeParserBase. getAndAssignOperatorOverloader(IType lhsType, IType rhsType, int op, ParsedElement parsedElement)(package private) DynamicPropertySymbolGosuClassParser. getOrCreateDynamicPropertySymbol(ParsedElement parsedElement, ICompilableTypeInternal gsClass, DynamicFunctionSymbol dfs, boolean bGetter)(package private) DynamicPropertySymbolGosuParser. getOrCreateDynamicPropertySymbol(ParsedElement parsedElement, IGosuClassInternal gsClass, DynamicFunctionSymbol dfs, boolean bGetter)private ISymbolParserBase. handleForwardReference(ParsedElement e, ISymbol sym)private voidGosuParser. handleImplicitCoercionsInArgs(ParsedElement element, IType[] argTypes, IType[] rawArgTypes, java.util.List<Expression> args)voidParseTree. initLocation(ParsedElement pe, int iOffset, int iLength)(package private) static booleanParserBase. isFinalDimension(ParserBase parser, IType lhsType, ParsedElement pe)private voidGosuParser. maybeRemoveIMonitorLockError(ParsedElement pe)private MethodScoreGosuParser. parseArgumentList(IType rootType, ParsedElement element, java.util.List<? extends IInvocableType> listFunctionTypes, IType[] typeParams, boolean bVerifyArgs, boolean bNoArgsProvided)(package private) DynamicFunctionSymbolGosuParser. parseFunctionDecl(ParsedElement element, boolean bProperty, boolean bGetter, ModifierInfo modifiers)(package private) DynamicFunctionSymbolGosuParser. parseFunctionDecl(ParsedElement element, ModifierInfo modifiers)(package private) DynamicFunctionSymbolGosuParser. parseFunctionDecl(ParsedElement element, java.lang.String T, boolean bProperty, boolean bGetter, ModifierInfo modifiers)(package private) ISymbolGosuParser. parseFunctionOrPropertyDeclaration(ParsedElement element)(package private) voidGosuParser. parseTypeVariableDefinition(ParsedElement parsedElem, TypeVariableDefinition typeVarDef, boolean bFirstPass)(package private) java.util.List<ITypeVariableDefinitionExpression>GosuParser. parseTypeVariableDefList(ParsedElement parsedElem, boolean bForFunction, java.util.List<TypeVariableDefinitionImpl> typeVarDefListFromDecl)(package private) java.util.List<ITypeVariableDefinitionExpression>GosuParser. parseTypeVariableDefs(ParsedElement parsedElem, boolean bFunction, java.util.List<TypeVariableDefinitionImpl> typeVarDefListFromDecl)private voidGosuParser. parseVariance(ParsedElement parsedElem, TypeVariableDefinition typeVarDef)private MethodScoreGosuParser. reparseArguments(MethodScore bestScore, java.util.List<Expression> argExpressions, ParsedElement element, int mark, int iLocationsCount, IType rootType, IType[] typeParams, boolean bVerifyArgs, boolean bNoArgsProvided)private MethodScoreGosuParser. reparseWithCorrectFunctionAndGtfo(MethodScore bestScore, boolean bShouldScoreMethods, java.util.List<Expression> argExpressions, ParsedElement element, int mark, int iLocationsCount, IType rootType, IType[] typeParams, boolean bVerifyArgs, boolean bNoArgsProvided)private static ITypeParserBase. resolveIfDimensionOperand(ParserBase parser, ParsedElement parsedElement, IType lhsType, int op, IType rhsType)protected ISymbolParserBase. resolveNamespaceSymbol(ParsedElement e, java.lang.String strName)protected ISymbolParserBase. resolveSymbol(ParsedElement e, java.lang.String strName, boolean ignoreFunctionSymbols)protected ITypeParserBase. resolveType(ParsedElement parsedElement, IType lhsType, int op, IType rhsType)protected ITypeParserBase. resolveTypeForArithmeticExpression(ParsedElement parsedElement, IType lhsType, java.lang.String op, IType rhsType)private voidGosuParser. transferModifierInfo(ParsedElement stmt, ModifierInfo modifiers, AnnotationUseSiteTarget target, EnhancementDynamicFunctionSymbol dfs)private booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, boolean bNextTokenIfException, boolean bWarning, IParserState parserState, ResourceKey errorMesg, java.lang.Object... args)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, boolean bNextTokenIfException, IParserState parserState, ResourceKey errorMesg, java.lang.Object... args)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, boolean bNextTokenIfException, ResourceKey errorMesg, java.lang.Object... args)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, IParserState parserState, ResourceKey errorMesg, java.lang.Object... args)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, ResourceKey errorMesg, java.lang.Object... args)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, ResourceKey errorMesg, java.lang.String arg0)(package private) booleanParserBase. verify(ParsedElement parsedElement, boolean bExpression, ResourceKey errorMesg, java.lang.String... args)private voidGosuParser. verifyArgCount(ParsedElement element, int iArgs, IConstructorType ctorType)private voidGosuParser. verifyArgCount(ParsedElement element, int iArgs, IFunctionType funcType)private booleanGosuParser. verifyCanParameterizeType(ParsedElement elem, IType type, IType[] typeParam)private voidGosuParser. verifyCase(ParsedElement element, java.lang.String foundName, java.lang.String actualName, IParserState state, ResourceKey errorKey, boolean isEndsWithMatchOK)private voidGosuParser. verifyCase(ParsedElement element, java.lang.String foundName, java.lang.String actualName, ResourceKey errorKey, boolean isEndsWithMatchOK)private voidGosuParser. verifyFunction(DynamicFunctionSymbol dfs, ParsedElement element)(package private) voidGosuParser. verifyFunctionConflictsWithPropoertySetter(ParsedElement element, DynamicFunctionSymbol dfs, DynamicPropertySymbol dps)(package private) voidParserBase. verifyNoAbstractHideOverrideModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw)(package private) voidParserBase. verifyNoAbstractHideOverrideStaticModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw)(package private) voidParserBase. verifyNoAbstractHideOverrideStaticModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw, boolean alreadyMatched)(package private) voidParserBase. verifyNoAbstractHideStaticModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw, boolean alreadyMatched)(package private) voidParserBase. verifyNoAccessibilityModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw)(package private) voidParserBase. verifyNoCombinedFinalPrivateModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier)(package private) voidParserBase. verifyNoCombinedFinalStaticModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier)(package private) voidParserBase. verifyNoCombinedPrivateAbstract(ParsedElement elem, boolean bIgnoreErrors, int modifier)(package private) voidParserBase. verifyNoHideOverrideModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw)(package private) voidParserBase. verifyNoHideOverrideStaticModifierDefined(ParsedElement elem, boolean bIgnoreErrors, int modifier, Keyword kw)private voidGosuParser. verifyNoImplicitPropertyMethodConflicts(ParsedElement element, DynamicFunctionSymbol dfs)private voidGosuParser. verifyNotWeakerAccess(ParsedElement element, DynamicFunctionSymbol dfs, DynamicFunctionSymbol dfsExisting)(package private) booleanParserBase. verifyOrWarn(ParsedElement target, boolean bExpression, boolean bWarning, ResourceKey err, java.lang.Object... args)private voidGosuParser. verifyOverrideNotOnMethodThatDoesNotExtend(ParsedElement element, DynamicFunctionSymbol dfs)(package private) voidGosuParser. verifyPropertySetterConflictsWithFunction(ParsedElement element, DynamicFunctionSymbol dfs, java.lang.String propName, DynamicFunctionSymbol existingDfs)private voidGosuParser. verifyReified(boolean bValidOverrideFound, ParsedElement element, DynamicFunctionSymbol dfs)private voidGosuParser. verifySameNumberOfFunctionTypeVars(ParsedElement element, DynamicFunctionSymbol dfs, DynamicFunctionSymbol dfsExisting)private voidGosuParser. verifyTypeForUsingStatementPredicate(ParsedElement pe, IType type)protected ITypeParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion)protected ITypeParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion, IParserState state)private voidGosuClassParser. verifyTypeVarVariance(Variance ctxVariance, ParsedElement elem, IType type)(package private) booleanParserBase. warn(ParsedElement target, boolean bExpression, IParserState state, ResourceKey err, java.lang.Object... args)(package private) booleanParserBase. warn(ParsedElement target, boolean bExpression, ResourceKey err, java.lang.Object... args)private voidParserBase. warnOnPcfVariablesHack(ParsedElement e, ISymbol sym)Constructors in gw.internal.gosu.parser with parameters of type ParsedElement Constructor Description ParseTree(ParsedElement pe, int iOffset, int iLength, IScriptPartId scriptPart) -
Uses of ParsedElement in gw.internal.gosu.parser.expressions
Subclasses of ParsedElement in gw.internal.gosu.parser.expressions Modifier and Type Class Description classAdditiveExpressionRepresents an additive expression in the Gosu grammar:classAnnotationExpressionclassAnnotationUseSiteTargetClauseclassArgumentListClauseclassArithmeticExpressionThe base class for arithmetic expressions with binary operators e.g., + - * / %.classArrayAccessRepresents a member access expression in the Gosu grammar:classBadInitializerExpressionclassBeanMethodCallExpressionAn expression representing a bean method call:classBinaryExpressionclassBindingExpressionclassBitshiftExpressionRepresents a bitshift expression in the Gosu grammar:classBitwiseAndExpressionRepresents a bitwise OR expression in the Gosu grammar:classBitwiseOrExpressionRepresents a bitwise OR expression in the Gosu grammar:classBitwiseXorExpressionRepresents a bitwise OR expression in the Gosu grammar:classBlockExpressionA block expression, representing an anonymous function/closureclassBlockInvocationGosu block invocation expression.classBlockLiteralRepresents a Block literal expression as defined in the Gosu grammar.classBooleanLiteralA literal expression for Boolean values.classCharLiteralRepresents a String literal expression as defined in the Gosu grammar.classClassDeclarationclassCollectionInitializerExpressionclassCompoundTypeLiteralclassConditionalAndExpressionRepresents a conditional AND expression in the Gosu grammar:classConditionalExpressionThe base class for conditional expressions with logical operators e.g., && || ==.classConditionalOrExpressionRepresents a conditional OR expression in the Gosu grammar:classConditionalTernaryExpressionConditional Ternary Expression as specified in the Gosu.classDefaultArgLiteralThe root (marker) class for all Literal expressions.classDirectiveExpressionclassEqualityExpressionRepresents an equality expression in the Gosu grammar:classEvalExpressionThe 'eval' operator as an expression:classFeatureLiteralRepresents a feature literal expression as defined in the Gosu grammar.classIdentifierGosu identifier expression.classIdentityExpressionRepresents an identity expression in the Gosu grammar:classImplicitTypeAsExpressionAn empty subtype of TypeAsExpression to indicate that this is an implicitly done coercionclassInferredNewExpressionclassInferredTypeLiteralclassInitializerAssignmentclassInterfacesClauseclassInterfaceTypeLiteralclassIntervalExpressionRepresents an interval expression in the Gosu grammar:classLiteralThe root (marker) class for all Literal expressions.classLocalVarDeclarationclassMapAccessclassMapInitializerExpressionclassMemberAccessRepresents a member access expression in the Gosu grammar:classMemberExpansionAccessRepresents a member expansion access expression in the Gosu grammar:classMethodCallExpressionclassModifierListClauseclassMultiplicativeExpressionRepresents a multiplicative expression in the Gosu grammar:classNameInDeclarationclassNewExpressionThe 'new' operator as an expression:classNotAWordExpressionclassNullExpressionAn expression representing a 'null' expression i.e., the null keyword.classNumericLiteralAn expression representing number literals as defined in the Gosu grammar.classObjectInitializerExpressionclassParameterDeclarationclassParameterListClauseclassProgramAn expression representing a Program:classPropertyAccessIdentifierclassPropertyAsMethodCallIdentifierFor backward compatibility when we exposed both properties and methods on java getters.classRelationalExpressionRepresents a relational expression in the Gosu grammar:classStaticTypeOfExpressionRepresents a StaticTypeOf expression as defined in the Gosu grammar.classStringLiteralRepresents a String literal expression as defined in the Gosu grammar.classSuperAccesssuper'['']' where must be a type from the class's declared super or interfaces classSuperTypeClauseclassSynthesizedMemberAccessclassTemplateStringLiteralclassTypeAsExpressionRepresents a typeas expression in the Gosu grammar:classTypeIsExpressionRepresents a typeis expression in the Gosu grammar:classTypeLiteralRepresents a Type literal expression as defined in the Gosu grammar.classTypeOfExpressionRepresents a TypeOf expression as defined in the Gosu grammar.classTypeParameterListClauseclassTypeVariableDefinitionclassTypeVariableExtendsListClauseclassTypeVariableListClauseclassUnaryExpressionRepresents a unary expression as defined in the Gosu grammar.classUnaryNotPlusMinusExpressionRepresents a unary-not-plus-minus expression as defined in the Gosu grammar.classUnqualifiedEnumMemberAccess -
Uses of ParsedElement in gw.internal.gosu.parser.statements
Subclasses of ParsedElement in gw.internal.gosu.parser.statements Modifier and Type Class Description classArrayAssignmentStatementRepresents an array assignment statement in the Gosu grammar:classAssertStatementclassAssignmentStatementRepresents an assignment statement in the Gosu grammar:classBeanMethodCallStatementRepresents a bean-method-call statement as specified in the Gosu grammar:classBlockInvocationStatementclassBreakStatementRepresents a break statement as specified in the Gosu grammar:classCaseClauseclassCatchClauseRepresents a try-catch-finally-statement as specified in the Gosu grammar:classClassFileStatementclassClasspathStatementclassClassStatementclassConstructorStatementclassContinueStatementRepresents a continue statement as specified in the Gosu grammar:classDelegateStatementclassDoWhileStatementRepresents an do-while-statement as specified in the Gosu grammar:classEvalStatementclassExpressionStatementclassForEachStatementRepresents a foreach statement as specified in the Gosu grammar:classFunctionStatementclassHideFieldNoOpStatementclassIfStatementRepresents an if-statement as specified in the Gosu grammar:classLoopStatementclassMapAssignmentStatementclassMemberAssignmentStatementRepresents a member-assignment statement as specified in the Gosu grammar:classMethodCallStatementRepresents a method-call statement as specified in the Gosu grammar:classNamespaceStatementclassNewStatementRepresents a method-call statement as specified in the Gosu grammar:classNoOpStatementRepresents a noop statement as specified in the Gosu grammar:classNotAStatementclassPropertyStatementclassReturnStatementRepresents a return statement as specified in the Gosu grammar:classStatementListRepresents a statement-list as specified in the Gosu grammar:classSwitchStatementRepresents a switch-statement as specified in the Gosu grammar:classSyntheticFunctionStatementclassSyntheticMemberAccessStatementclassTerminalStatementclassThrowStatementRepresents a throw-statement as specified in the Gosu grammar:classTryCatchFinallyStatementRepresents a try-catch-finally-statement as specified in the Gosu grammar:classTypeLoaderStatementclassUsesStatementclassUsesStatementListclassUsingStatementRepresents the using-statement as specified in the Gosu grammar:classVarStatementRepresents a var statement as specified in the Gosu grammar:classWhileStatementRepresents an while-statement as specified in the Gosu grammar:
-