public class LocalVarDeclaration extends Expression implements ILocalVarDeclaration
_type_tokens, UNDEF_FILE, UNDEF_FUNCTION, UNDEF_MODULEEMPTY_ARRAY| Constructor and Description |
|---|
LocalVarDeclaration(String strLocalVarName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
declares(String identifierName) |
Object |
evaluate() |
List<IGosuAnnotation> |
getAnnotations() |
String[] |
getDeclarations() |
CharSequence |
getLocalVarName() |
int |
getNameOffset(String identifierName) |
ISymbol |
getSymbol() |
TypeLiteral |
getTypeLiteral() |
void |
setNameOffset(int iOffset,
String identifierName) |
String |
toString()
Subclasses should return a String representing the parsed expression.
|
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, 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, 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 LocalVarDeclaration(String strLocalVarName)
public CharSequence getLocalVarName()
getLocalVarName in interface ILocalVarDeclarationpublic Object evaluate()
evaluate in interface IExpressionevaluate in class Expressionpublic String toString()
ExpressiontoString in class Expressionpublic int getNameOffset(String identifierName)
getNameOffset in interface IParsedElementWithAtLeastOneDeclarationpublic void setNameOffset(int iOffset,
String identifierName)
setNameOffset in interface IParsedElementWithAtLeastOneDeclarationpublic boolean declares(String identifierName)
declares in interface IParsedElementWithAtLeastOneDeclarationpublic TypeLiteral getTypeLiteral()
getTypeLiteral in interface ILocalVarDeclarationpublic ISymbol getSymbol()
getSymbol in interface ILocalVarDeclarationpublic String[] getDeclarations()
getDeclarations in interface IParsedElementWithAtLeastOneDeclarationpublic List<IGosuAnnotation> getAnnotations()
getAnnotations in class ParsedElementCopyright © 2022. All rights reserved.