public class FeatureLiteral extends Expression implements IFeatureLiteralExpression
IGosuParser_type_tokens, UNDEF_FILE, UNDEF_FUNCTION, UNDEF_MODULEEMPTY_ARRAY| Constructor and Description |
|---|
FeatureLiteral(Expression rootExpr) |
| Modifier and Type | Method and Description |
|---|---|
List<IExpression> |
getBoundArgs() |
IFeatureInfo |
getFeature() |
IExpression |
getFinalRoot() |
IType |
getFinalRootType() |
List<? extends IInvocableType> |
getFunctionTypes(String name) |
String |
getMethodName() |
IType[] |
getParameterTypes() |
String |
getPropertyName() |
IExpression |
getRoot() |
IType |
getRootType() |
boolean |
isBound() |
boolean |
isConstructorLiteral() |
boolean |
isMethodLiteral() |
boolean |
isPropertyLiteral() |
boolean |
isStaticish() |
boolean |
resolveConstructor(List<IType> typesList) |
boolean |
resolveMethod(String methodName,
List<IType> typesList) |
boolean |
resolveProperty(String propName) |
void |
setFeature(IHasParameterInfos feature,
List<IExpression> arguments) |
String |
toString()
Subclasses should return a String representing the parsed expression.
|
evaluate, evaluate, getContextType, getReturnType, getType, getTypeImpl, isNullSafe, isUnchecked, setTypeaddExceptionsFrom, addParseException, addParseException, addParseException, addParseExceptions, addParseIssues, addParseWarning, addParseWarning, addParseWarnings, addToken, adjustColumn, adjustLineNum, assignTokens, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, compactParseTree, findAncestorParsedElementByType, findDeclaringStatement, findLineNumberOfDeclaration, findRootParsedElement, getAnnotations, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getEnclosingFeatureInfo, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getQualifyingEnclosingTypeInfo, getTokens, hasImmediateParseIssue, hasImmediateParseWarning, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, initEmptyParseTree, initLocation, isCompileTimeConstant, isSuppressed, isSuppressed, isSynthetic, makeDoubleValue, makeFloatValue, makeInteger, makeLong, removeParseException, removeParseWarning, removeParseWarningRecursively, setGosuProgram, setLineNum, setLocation, setParent, setSynthetic, shouldClearParseInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluate, evaluate, getContextType, isNullSafe, isUncheckedaddExceptionsFrom, 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, setParentpublic FeatureLiteral(Expression rootExpr)
public boolean resolveProperty(String propName)
public void setFeature(IHasParameterInfos feature, List<IExpression> arguments)
public String toString()
ExpressiontoString in class Expressionpublic boolean isConstructorLiteral()
public boolean isMethodLiteral()
public boolean isPropertyLiteral()
public IExpression getRoot()
public IExpression getFinalRoot()
getFinalRoot in interface IFeatureLiteralExpressionpublic IType getFinalRootType()
getFinalRootType in interface IFeatureLiteralExpressionpublic IType getRootType()
getRootType in interface IFeatureLiteralExpressionpublic String getPropertyName()
public String getMethodName()
public List<IExpression> getBoundArgs()
getBoundArgs in interface IFeatureLiteralExpressionpublic boolean isBound()
isBound in interface IFeatureLiteralExpressionpublic IType[] getParameterTypes()
public boolean isStaticish()
public IFeatureInfo getFeature()
getFeature in interface IFeatureLiteralExpressionpublic List<? extends IInvocableType> getFunctionTypes(String name)
Copyright © 2017. All rights reserved.