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
public interface INewExpression extends IExpression, IHasArguments
-
-
Field Summary
-
Fields inherited from interface gw.lang.parser.IExpression
EMPTY_ARRAY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IExpression[]
getArgs()
IType[]
getArgTypes()
IConstructorInfo
getConstructor()
IInitializerExpression
getInitializer()
List<? extends IExpression>
getSizeExpressions()
ITypeLiteralExpression
getTypeLiteral()
List<? extends IExpression>
getValueExpressions()
boolean
isAnonymousClass()
-
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 Detail
-
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()
-
-