Package gw.lang.parser.expressions
Interface INewExpression
- All Superinterfaces:
IExpression
,IHasArguments
,IHasType
,IParsedElement
- All Known Subinterfaces:
IAnnotationExpression
,IInferredNewExpression
- All Known Implementing Classes:
AnnotationExpression
,InferredNewExpression
,NewExpression
-
Field Summary
Fields inherited from interface gw.lang.parser.IExpression
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
IType[]
List<? extends IExpression>
List<? extends IExpression>
boolean
Methods inherited from interface gw.lang.parser.IExpression
evaluate, evaluate, getContextType, isNullSafe, isUnchecked
Methods inherited from interface gw.lang.parser.IHasArguments
getArgPosition
Methods inherited from interface gw.lang.parser.IParsedElement
addExceptionsFrom, addParseException, addParseException, addParseWarning, addParseWarning, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, findAncestorParsedElementByType, findDeclaringStatement, findRootParsedElement, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getReturnType, getTokens, hasImmediateParseIssue, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, isCompileTimeConstant, isSuppressed, isSynthetic, setLocation, setParent, visit
-
Method Details
-
getArgTypes
IType[] getArgTypes() -
getArgs
IExpression[] getArgs()- Specified by:
getArgs
in interfaceIHasArguments
-
getConstructor
IConstructorInfo getConstructor() -
getValueExpressions
List<? extends IExpression> getValueExpressions() -
getInitializer
IInitializerExpression getInitializer() -
getSizeExpressions
List<? extends IExpression> getSizeExpressions() -
isAnonymousClass
boolean isAnonymousClass() -
getTypeLiteral
ITypeLiteralExpression getTypeLiteral()
-