Package gw.lang.parser.expressions
Interface IFeatureLiteralExpression
-
- All Superinterfaces:
Cloneable
,IExpression
,IHasType
,ILiteralExpression
,IParsedElement
- All Known Implementing Classes:
FeatureLiteral
public interface IFeatureLiteralExpression extends ILiteralExpression, Cloneable
-
-
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 List<IExpression>
getBoundArgs()
IFeatureInfo
getFeature()
IExpression
getFinalRoot()
IType
getFinalRootType()
IType
getRootType()
boolean
isBound()
-
Methods inherited from interface gw.lang.parser.IExpression
evaluate, evaluate, getContextType, isNullSafe, 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
-
-
-
-
Method Detail
-
getFeature
IFeatureInfo getFeature()
- Returns:
- the feature associated with this literal
-
getFinalRootType
IType getFinalRootType()
- Returns:
- the root type of the entire literal chain (if one exists)
-
getRootType
IType getRootType()
- Returns:
- the type that the feature that this literal refers to is on
-
getBoundArgs
List<IExpression> getBoundArgs()
- Returns:
- bound args of this feature, or null if there are no bound args
-
isBound
boolean isBound()
- Returns:
- true if this literal is bound at its root
-
getFinalRoot
IExpression getFinalRoot()
- Returns:
- the final root expression of the feature literal
-
-