Uses of Interface
gw.lang.parser.IParsedElement
-
-
Uses of IParsedElement in editor
Methods in editor that return IParsedElement Modifier and Type Method Description IParsedElement
GosuEditor. findFunction(IParsedElement parsedElement)
IParsedElement
GosuEditor. getFunctionCallAtCaret()
IParsedElement
SmartFixManager. getJavaStyleCast()
IParsedElement
SmartFixManager. getPeToFixWithAsStatement()
IParsedElement
GosuEditor. getRootParsedElement()
IParsedElement
SmartFixManager. getSourceOfIssue()
Methods in editor with parameters of type IParsedElement Modifier and Type Method Description IParsedElement
GosuEditor. findFunction(IParsedElement parsedElement)
static SmartFixManager.ReplaceChunk
SmartFixManager. getReplaceChunk(IParsedElement sourceOfIssue, String gosuSource)
void
GosuEditor. gotoDeclaration(IParsedElement pe)
static boolean
ParseExceptionResolver. isEditorAtPossibleArgPosition(IParsedElement e, JTextComponent editor)
static boolean
InitializerCompletionHandler. isInitializerStart(IParsedElement parsedElement)
void
SmartFixManager. setSourceOfIssue(IParsedElement sourceOfIssue)
void
TypeNameValidator. validate(IParsedElement rootParsedElement, String scriptSrc)
-
Uses of IParsedElement in editor.search
Methods in editor.search that return IParsedElement Modifier and Type Method Description IParsedElement
UsageTarget. getParsedElement()
Methods in editor.search with parameters of type IParsedElement Modifier and Type Method Description static UsageTarget
UsageTarget. makeTarget(IParsedElement pe)
Constructors in editor.search with parameters of type IParsedElement Constructor Description SearchElement(IParsedElement pe)
UsageTarget(IParsedElement pe, IFeatureInfo selectedFi)
-
Uses of IParsedElement in gw.internal.gosu.ir.transform
Classes in gw.internal.gosu.ir.transform with type parameters of type IParsedElement Modifier and Type Class Description class
AbstractElementTransformer<T extends IParsedElement>
-
Uses of IParsedElement in gw.internal.gosu.ir.transform.expression
Methods in gw.internal.gosu.ir.transform.expression with parameters of type IParsedElement Modifier and Type Method Description static Object
EvalExpressionTransformer. compileAndRunEvalSource(Object source, Object outer, Object[] capturedValues, LazyTypeResolver[] immediateFuncTypeParams, IType enclosingClass, IParsedElement evalExpr)
static Object
EvalExpressionTransformer. compileAndRunEvalSource(Object source, Object outer, Object[] capturedValues, LazyTypeResolver[] immediateFuncTypeParams, IType enclosingClass, IParsedElement evalExpr, ISymbolTable compileTimeLocalContextSymbols, IExternalSymbolMap runtimeLocalSymbolValues)
protected int
EvalBasedTransformer. getFunctionTypeParamsCount(IParsedElement pe)
protected IRExpression
EvalBasedTransformer. pushEnclosingFunctionTypeParamsInArray(IParsedElement expr)
-
Uses of IParsedElement in gw.internal.gosu.parser
Classes in gw.internal.gosu.parser that implement IParsedElement Modifier and Type Class Description class
DefaultParamValueLiteral
class
Expression
The root class for all Expressions represented in a parse tree as specified in the Gosu grammar.class
ParenthesizedExpression
class
ParsedElement
ParsedElement is the root class for all non-terminal elements represented in a parse tree i.e., all non-terminal expressions and statements derive either directly or indirectly from this class.class
Statement
The root class for all Statements represented in a parse tree.Methods in gw.internal.gosu.parser with type parameters of type IParsedElement Modifier and Type Method Description <E extends IParsedElement>
booleanParsedElement. getContainedParsedElementsByType(Class<E> parsedElementType, List<E> listResults)
Find all the parsed elements of a given type contained within this parsed element.Methods in gw.internal.gosu.parser that return IParsedElement Modifier and Type Method Description IParsedElement
ParsedElement. findAncestorParsedElementByType(Class... parsedElementClasses)
IParsedElement
ParsedElement. findRootParsedElement()
IParsedElement
GosuProgram. getEnclosingEvalExpression()
IParsedElement
GosuProgramParseInfo. getEvalExpression()
IParsedElement
ParsedElement. getParent()
static IParsedElement
ContextInferenceManager. unwrapImplicitTypeAs(Expression expression)
Methods in gw.internal.gosu.parser with parameters of type IParsedElement Modifier and Type Method Description void
ParsedElement. addExceptionsFrom(IParsedElement elem)
static void
ContextSensitiveCodeRunner. collectLocalSymbols(IType enclosingType, ISymbolTable symTable, IParsedElement parsedElement, int iOffset)
StandardParserState
GosuIndustrialParkImpl. createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b)
IParsedElementWithAtLeastOneDeclaration
ParsedElement. findDeclaringStatement(IParsedElement element, String identifierName)
static String
GosuProgramParser. makeEvalKey(String strSource, IType enclosingClass, IParsedElement ctxElem)
IParseResult
GosuProgramParser. parseEval(String strSource, List<ICapturedSymbol> captured, IType enclosingClass, IParsedElement ctxElem, ISymbolTable extSyms)
ArrayList<ISymbol>
GosuParser. parseParameterDeclarationList(IParsedElement element, boolean bStatic, List<IType> inferredArgumentTypes)
ArrayList<ISymbol>
GosuParser. parseParameterDeclarationList(IParsedElement element, boolean bStatic, List<IType> inferredArgumentTypes, boolean bProperty, boolean bGetter, boolean bEmpty, boolean bVarDynamicArg)
static void
CompileTimeAnnotationHandler. postDefinitionVerification(IParsedElement elt)
void
GosuProgram. setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr)
void
GosuProgramParseInfo. setEvalExpression(IParsedElement evalExprOrAnyExpr)
void
ParsedElement. setParent(IParsedElement parent)
void
Statement. setParent(IParsedElement rootElement)
protected void
ParserBase. verifyModifiersForFeature(IParsedElement pe, ModifierInfo modInfo)
protected void
ParserBase. verifyParsedElement(IParsedElement element)
protected void
ParserBase. verifyParsedElement(IParsedElement element, boolean bThrowOnWarnings)
Method parameters in gw.internal.gosu.parser with type arguments of type IParsedElement Modifier and Type Method Description boolean
ParsedElement. getContainedParsedElementsByTypes(List<IParsedElement> listResults, Class<? extends IParsedElement>... parsedElementTypes)
boolean
ParsedElement. getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults, Set<Class<? extends IParsedElement>> ignoreSet, Class<? extends IParsedElement>... parsedElementTypes)
boolean
ParsedElement. getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults, Set<Class<? extends IParsedElement>> ignoreSet, Class<? extends IParsedElement>... parsedElementTypes)
ParseTree
ParseTree. getFirstChildWithParsedElementType(Class<? extends IParsedElement> aClass)
ParseTree
ParseTree. getLastChildWithParsedElementType(Class<? extends IParsedElement> aClass)
void
ParsedElement. visit(Consumer<IParsedElement> visitor)
Constructors in gw.internal.gosu.parser with parameters of type IParsedElement Constructor Description StandardParserState(IParsedElement elt, String src, boolean bKeepSymbolTableInIssues)
-
Uses of IParsedElement in gw.internal.gosu.parser.expressions
Classes in gw.internal.gosu.parser.expressions that implement IParsedElement Modifier and Type Class Description class
AdditiveExpression
Represents an additive expression in the Gosu grammar:class
AnnotationExpression
class
AnnotationUseSiteTargetClause
class
ArgumentListClause
class
ArithmeticExpression
The base class for arithmetic expressions with binary operators e.g., + - * / %.class
ArrayAccess
Represents a member access expression in the Gosu grammar:class
BadInitializerExpression
class
BeanMethodCallExpression
An expression representing a bean method call:class
BinaryExpression
class
BindingExpression
class
BitshiftExpression
Represents a bitshift expression in the Gosu grammar:class
BitwiseAndExpression
Represents a bitwise OR expression in the Gosu grammar:class
BitwiseOrExpression
Represents a bitwise OR expression in the Gosu grammar:class
BitwiseXorExpression
Represents a bitwise OR expression in the Gosu grammar:class
BlockExpression
A block expression, representing an anonymous function/closureclass
BlockInvocation
Gosu block invocation expression.class
BlockLiteral
Represents a Block literal expression as defined in the Gosu grammar.class
BooleanLiteral
A literal expression for Boolean values.class
CharLiteral
Represents a String literal expression as defined in the Gosu grammar.class
ClassDeclaration
class
CollectionInitializerExpression
class
CompoundTypeLiteral
class
ConditionalAndExpression
Represents a conditional AND expression in the Gosu grammar:class
ConditionalExpression
The base class for conditional expressions with logical operators e.g., && || ==.class
ConditionalOrExpression
Represents a conditional OR expression in the Gosu grammar:class
ConditionalTernaryExpression
Conditional Ternary Expression as specified in the Gosu.class
DefaultArgLiteral
The root (marker) class for all Literal expressions.class
DirectiveExpression
class
EqualityExpression
Represents an equality expression in the Gosu grammar:class
EvalExpression
The 'eval' operator as an expression:class
FeatureLiteral
Represents a feature literal expression as defined in the Gosu grammar.class
Identifier
Gosu identifier expression.class
IdentityExpression
Represents an identity expression in the Gosu grammar:class
ImplicitTypeAsExpression
An empty subtype of TypeAsExpression to indicate that this is an implicitly done coercionclass
InferredNewExpression
class
InferredTypeLiteral
class
InitializerAssignment
class
InterfacesClause
class
InterfaceTypeLiteral
class
IntervalExpression
Represents an interval expression in the Gosu grammar:class
Literal
The root (marker) class for all Literal expressions.class
LocalVarDeclaration
class
MapAccess
class
MapInitializerExpression
class
MemberAccess
Represents a member access expression in the Gosu grammar:class
MemberExpansionAccess
Represents a member expansion access expression in the Gosu grammar:class
MethodCallExpression
class
ModifierListClause
class
MultiplicativeExpression
Represents a multiplicative expression in the Gosu grammar:class
NameInDeclaration
class
NewExpression
The 'new' operator as an expression:class
NotAWordExpression
class
NullExpression
An expression representing a 'null' expression i.e., the null keyword.class
NumericLiteral
An expression representing number literals as defined in the Gosu grammar.class
ObjectInitializerExpression
class
ParameterDeclaration
class
ParameterListClause
class
Program
An expression representing a Program:class
PropertyAccessIdentifier
class
PropertyAsMethodCallIdentifier
For backward compatibility when we exposed both properties and methods on java getters.class
RelationalExpression
Represents a relational expression in the Gosu grammar:class
StaticTypeOfExpression
Represents a StaticTypeOf expression as defined in the Gosu grammar.class
StringLiteral
Represents a String literal expression as defined in the Gosu grammar.class
SuperAccess
super'['']' where must be a type from the class's declared super or interfaces class
SuperTypeClause
class
SynthesizedMemberAccess
class
TemplateStringLiteral
class
TypeAsExpression
Represents a typeas expression in the Gosu grammar:class
TypeIsExpression
Represents a typeis expression in the Gosu grammar:class
TypeLiteral
Represents a Type literal expression as defined in the Gosu grammar.class
TypeOfExpression
Represents a TypeOf expression as defined in the Gosu grammar.class
TypeParameterListClause
class
TypeVariableDefinition
class
TypeVariableExtendsListClause
class
TypeVariableListClause
class
UnaryExpression
Represents a unary expression as defined in the Gosu grammar.class
UnaryNotPlusMinusExpression
Represents a unary-not-plus-minus expression as defined in the Gosu grammar.class
UnqualifiedEnumMemberAccess
Methods in gw.internal.gosu.parser.expressions with type parameters of type IParsedElement Modifier and Type Method Description <E extends IParsedElement>
booleanProgram. getContainedParsedElementsByType(Class<E> parsedElementType, List<E> listResults)
Methods in gw.internal.gosu.parser.expressions that return IParsedElement Modifier and Type Method Description IParsedElement
BlockExpression. getBody()
Methods in gw.internal.gosu.parser.expressions with parameters of type IParsedElement Modifier and Type Method Description IParsedElementWithAtLeastOneDeclaration
Program. findDeclaringStatement(IParsedElement element, String identifierName)
void
BlockExpression. setBody(IParsedElement blockBody)
-
Uses of IParsedElement in gw.internal.gosu.parser.statements
Classes in gw.internal.gosu.parser.statements that implement IParsedElement Modifier and Type Class Description class
ArrayAssignmentStatement
Represents an array assignment statement in the Gosu grammar:class
AssertStatement
class
AssignmentStatement
Represents an assignment statement in the Gosu grammar:class
BeanMethodCallStatement
Represents a bean-method-call statement as specified in the Gosu grammar:class
BlockInvocationStatement
class
BreakStatement
Represents a break statement as specified in the Gosu grammar:class
CaseClause
class
CatchClause
Represents a try-catch-finally-statement as specified in the Gosu grammar:class
ClassFileStatement
class
ClasspathStatement
class
ClassStatement
class
ConstructorStatement
class
ContinueStatement
Represents a continue statement as specified in the Gosu grammar:class
DelegateStatement
class
DoWhileStatement
Represents an do-while-statement as specified in the Gosu grammar:class
EvalStatement
class
ExpressionStatement
class
ForEachStatement
Represents a foreach statement as specified in the Gosu grammar:class
FunctionStatement
class
HideFieldNoOpStatement
class
IfStatement
Represents an if-statement as specified in the Gosu grammar:class
LoopStatement
class
MapAssignmentStatement
class
MemberAssignmentStatement
Represents a member-assignment statement as specified in the Gosu grammar:class
MethodCallStatement
Represents a method-call statement as specified in the Gosu grammar:class
NamespaceStatement
class
NewStatement
Represents a method-call statement as specified in the Gosu grammar:class
NoOpStatement
Represents a noop statement as specified in the Gosu grammar:class
NotAStatement
class
PropertyStatement
class
ReturnStatement
Represents a return statement as specified in the Gosu grammar:class
StatementList
Represents a statement-list as specified in the Gosu grammar:class
SwitchStatement
Represents a switch-statement as specified in the Gosu grammar:class
SyntheticFunctionStatement
class
SyntheticMemberAccessStatement
class
TerminalStatement
class
ThrowStatement
Represents a throw-statement as specified in the Gosu grammar:class
TryCatchFinallyStatement
Represents a try-catch-finally-statement as specified in the Gosu grammar:class
TypeLoaderStatement
class
UsesStatement
class
UsesStatementList
class
UsingStatement
Represents the using-statement as specified in the Gosu grammar:class
VarStatement
Represents a var statement as specified in the Gosu grammar:class
WhileStatement
Represents an while-statement as specified in the Gosu grammar: -
Uses of IParsedElement in gw.lang
Methods in gw.lang with parameters of type IParsedElement Modifier and Type Method Description static IFullParserState
GosuShop. createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b)
IFullParserState
IGosuShop. createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b)
-
Uses of IParsedElement in gw.lang.annotation
Methods in gw.lang.annotation with parameters of type IParsedElement Modifier and Type Method Description static UsageModifier
UsageModifier. getUsageModifier(IParsedElement pe, UsageTarget targetType, IType annotationType, AnnotationUseSiteTarget target)
static boolean
UsageModifier. targetAppliesToParsedElement(IParsedElement pe, AnnotationUseSiteTarget target)
-
Uses of IParsedElement in gw.lang.parser
Subinterfaces of IParsedElement in gw.lang.parser Modifier and Type Interface Description interface
IExpression
interface
IParsedElementWithAtLeastOneDeclaration
interface
IStatement
Methods in gw.lang.parser with type parameters of type IParsedElement Modifier and Type Method Description <E extends IParsedElement>
booleanIParsedElement. getContainedParsedElementsByType(Class<E> parsedElementType, List<E> listResults)
static <E extends IParsedElement>
voidIParseTree.Search. getContainedParsedElementsByType(List<IParseTree> locations, Class<E> parsedElementClass, List<E> listOut)
Methods in gw.lang.parser that return IParsedElement Modifier and Type Method Description IParsedElement
IParsedElement. findAncestorParsedElementByType(Class... parsedElementClasses)
IParsedElement
IParsedElement. findRootParsedElement()
IParsedElement
IParsedElement. getParent()
IParsedElement
IParseResult. getParsedElement()
IParsedElement
IParseTree. getParsedElement()
IParsedElement
ParseResult. getParsedElement()
IParsedElement
TypeVarToTypeMap. getReparseElement()
IParsedElement
IParseIssue. getSource()
Methods in gw.lang.parser with parameters of type IParsedElement Modifier and Type Method Description void
IParsedElement. addExceptionsFrom(IParsedElement elem)
IParsedElementWithAtLeastOneDeclaration
IParsedElement. findDeclaringStatement(IParsedElement parsedElement, String identifierName)
static IStatement
IParseTree.Search. getHiddenStatement(IParsedElement pe)
static void
PostCompilationAnalysis. maybeAnalyze(IParsedElement pe, IParsedElement... other)
Perform post compilation analysis on the given ParsedElement.IParseResult
IGosuProgramParser. parseEval(String strSource, List<ICapturedSymbol> symTable, IType enclosingClass, IParsedElement evalExpressionOrAnyCtxElement, ISymbolTable extSyms)
ArrayList<ISymbol>
IGosuParser. parseParameterDeclarationList(IParsedElement pe, boolean bStatic, List<IType> inferredArgumentTypes)
void
IParsedElement. setParent(IParsedElement rootElement)
void
TypeVarToTypeMap. setReparseElement(IParsedElement reparseElem)
void
IGosuValidator. validate(IParsedElement rootParsedElement, String scriptSrc)
Provides additional semantic checks to a Gosu parserMethod parameters in gw.lang.parser with type arguments of type IParsedElement Modifier and Type Method Description boolean
IParsedElement. getContainedParsedElementsByTypes(List<IParsedElement> listResults, Class<? extends IParsedElement>... parsedElementTypes)
boolean
IParsedElement. getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults, Set<Class<? extends IParsedElement>> ignoreSet, Class<? extends IParsedElement>... parsedElementTypes)
boolean
IParsedElement. getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults, Set<Class<? extends IParsedElement>> ignoreSet, Class<? extends IParsedElement>... parsedElementTypes)
IParseTree
IParseTree. getFirstChildWithParsedElementType(Class<? extends IParsedElement> aClass)
IParseTree
IParseTree. getLastChildWithParsedElementType(Class<? extends IParsedElement> aClass)
void
IParsedElement. visit(Consumer<IParsedElement> visitor)
-
Uses of IParsedElement in gw.lang.parser.exceptions
Methods in gw.lang.parser.exceptions that return IParsedElement Modifier and Type Method Description IParsedElement
ParseResultsException. getParsedElement()
IParsedElement
ParseIssue. getSource()
Warning: Only valid if called from the parser thread.Methods in gw.lang.parser.exceptions with parameters of type IParsedElement Modifier and Type Method Description void
ParseResultsException. reset(IParsedElement pe)
void
ParseIssue. setSource(IParsedElement sourceOfError)
Constructors in gw.lang.parser.exceptions with parameters of type IParsedElement Constructor Description ParseResultsException(IParsedElement parsedElement)
ParseResultsException(IParsedElement parsedElement, String message)
-
Uses of IParsedElement in gw.lang.parser.expressions
Methods in gw.lang.parser.expressions that return IParsedElement Modifier and Type Method Description IParsedElement
IBlockExpression. getBody()
-
Uses of IParsedElement in gw.lang.parser.statements
-
Uses of IParsedElement in gw.lang.reflect.gs
Methods in gw.lang.reflect.gs that return IParsedElement Modifier and Type Method Description IParsedElement
IGosuProgram. getEnclosingEvalExpression()
Methods in gw.lang.reflect.gs with parameters of type IParsedElement Modifier and Type Method Description void
IGosuProgram. setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr)
-
Uses of IParsedElement in gw.util
Methods in gw.util that return IParsedElement Modifier and Type Method Description static IParsedElement
GosuRefactorUtil. boundingParent(List<IParseTree> locations, int position, Class<? extends IParsedElement>... possibleTypes)
Finds a bounding parent of any of the possible types passed in from the list of locations, starting at the position given.
-