Package gw.lang.parser.expressions
Interface INewExpression
-
- All Superinterfaces:
IExpression,IHasArguments,IHasType,IParsedElement
- All Known Subinterfaces:
IAnnotationExpression,IInferredNewExpression
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()IConstructorInfogetConstructor()IInitializerExpressiongetInitializer()List<? extends IExpression>getSizeExpressions()ITypeLiteralExpressiongetTypeLiteral()List<? extends IExpression>getValueExpressions()booleanisAnonymousClass()-
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:
getArgsin interfaceIHasArguments
-
getConstructor
IConstructorInfo getConstructor()
-
getValueExpressions
List<? extends IExpression> getValueExpressions()
-
getInitializer
IInitializerExpression getInitializer()
-
getSizeExpressions
List<? extends IExpression> getSizeExpressions()
-
isAnonymousClass
boolean isAnonymousClass()
-
getTypeLiteral
ITypeLiteralExpression getTypeLiteral()
-
-