Package gw.lang.parser
Interface IExpression
-
- All Superinterfaces:
IHasType
,IParsedElement
- All Known Subinterfaces:
IAdditiveExpression
,IAnnotationExpression
,IAnnotationUseSiteTargetClause
,IArgumentListClause
,IArithmeticExpression
,IArrayAccessExpression
,IBeanMethodCallExpression
,IBinaryExpression
,IBindingExpression
,IBitshiftExpression
,IBitwiseAndExpression
,IBitwiseOrExpression
,IBitwiseXorExpression
,IBlockExpression
,IBlockInvocation
,IBlockLiteralExpression
,IBooleanLiteralExpression
,ICaseClause
,ICharLiteralExpression
,IClassDeclaration
,ICollectionInitializerExpression
,IConditionalAndExpression
,IConditionalExpression
,IConditionalOrExpression
,IConditionalTernaryExpression
,IDirectiveExpression
,IEqualityExpression
,IEvalExpression
,IFeatureLiteralExpression
,IFieldAccessExpression
,IIdentifierExpression
,IIdentityExpression
,IImplicitTypeAsExpression
,IInferredNewExpression
,IInitializerExpression
,IInterfacesClause
,IInterfaceTypeLiteralExpression
,IIntervalExpression
,ILiteralExpression
,ILocalVarDeclaration
,IMapAccessExpression
,IMapInitializerExpression
,IMemberAccessExpression
,IMemberExpansionExpression
,IMethodCallExpression
,IModifierListClause
,IMultiplicativeExpression
,INameInDeclaration
,INewExpression
,INotAWordExpression
,INullExpression
,INumericLiteralExpression
,IObjectInitializerExpression
,IParameterDeclaration
,IParameterListClause
,IParenthesizedExpression
,IProgram
,IPropertyAccessIdentifier
,IRelationalExpression
,IStaticTypeOfExpression
,IStringLiteralExpression
,ISuperTypeClause
,ISynthesizedMemberAccessExpression
,ITemplateStringLiteral
,ITypeAsExpression
,ITypeIsExpression
,ITypeLiteralExpression
,ITypeOfExpression
,ITypeParameterListClause
,ITypeVariableExtendsListClause
,IUnaryExpression
,IUnaryNotPlusMinusExpression
,IUnqualifiedEnumMemberAccess
- All Known Implementing Classes:
AdditiveExpression
,AnnotationExpression
,AnnotationUseSiteTargetClause
,ArgumentListClause
,ArithmeticExpression
,ArrayAccess
,BadInitializerExpression
,BeanMethodCallExpression
,BinaryExpression
,BindingExpression
,BitshiftExpression
,BitwiseAndExpression
,BitwiseOrExpression
,BitwiseXorExpression
,BlockExpression
,BlockInvocation
,BlockLiteral
,BooleanLiteral
,CaseClause
,CharLiteral
,ClassDeclaration
,CollectionInitializerExpression
,CompoundTypeLiteral
,ConditionalAndExpression
,ConditionalExpression
,ConditionalOrExpression
,ConditionalTernaryExpression
,DefaultArgLiteral
,DefaultParamValueLiteral
,DirectiveExpression
,EqualityExpression
,EvalExpression
,Expression
,FeatureLiteral
,Identifier
,IdentityExpression
,ImplicitTypeAsExpression
,InferredNewExpression
,InferredTypeLiteral
,InterfacesClause
,InterfaceTypeLiteral
,IntervalExpression
,Literal
,LocalVarDeclaration
,MapAccess
,MapInitializerExpression
,MemberAccess
,MemberExpansionAccess
,MethodCallExpression
,ModifierListClause
,MultiplicativeExpression
,NameInDeclaration
,NewExpression
,NotAWordExpression
,NullExpression
,NumericLiteral
,ObjectInitializerExpression
,ParameterDeclaration
,ParameterListClause
,ParenthesizedExpression
,Program
,PropertyAccessIdentifier
,PropertyAsMethodCallIdentifier
,RelationalExpression
,StaticTypeOfExpression
,StringLiteral
,SuperAccess
,SuperTypeClause
,SynthesizedMemberAccess
,TemplateStringLiteral
,TypeAsExpression
,TypeIsExpression
,TypeLiteral
,TypeOfExpression
,TypeParameterListClause
,TypeVariableDefinition
,TypeVariableExtendsListClause
,TypeVariableListClause
,UnaryExpression
,UnaryNotPlusMinusExpression
,UnqualifiedEnumMemberAccess
public interface IExpression extends IParsedElement, IHasType
-
-
Field Summary
Fields Modifier and Type Field Description static IExpression[]
EMPTY_ARRAY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
evaluate()
Evaluates this Expression and returns the result.Object
evaluate(IExternalSymbolMap externalSymbols)
IType
getContextType()
boolean
isNullSafe()
boolean
isUnchecked()
-
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
-
-
-
-
Field Detail
-
EMPTY_ARRAY
static final IExpression[] EMPTY_ARRAY
-
-
Method Detail
-
evaluate
Object evaluate()
Evaluates this Expression and returns the result.
-
evaluate
Object evaluate(IExternalSymbolMap externalSymbols)
-
getContextType
IType getContextType()
-
isNullSafe
boolean isNullSafe()
-
isUnchecked
boolean isUnchecked()
-
-