public final class BlockExpression extends Expression implements IBlockExpression
IGosuParser_type_tokens, UNDEF_FILE, UNDEF_FUNCTION, UNDEF_MODULEEMPTY_ARRAY| Constructor and Description |
|---|
BlockExpression()
Constructs an block expression.
|
evaluate, getContextType, getReturnType, 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, 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, setSyntheticclone, 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, 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 Object evaluate()
evaluate in interface IExpressionevaluate in class Expressionpublic String toString()
ExpressiontoString in class Expressionpublic void setBody(IParsedElement blockBody)
public IFunctionType getType()
ExpressiongetType in interface IHasTypegetType in class Expressionpublic IFunctionType getTypeImpl()
getTypeImpl in class Expressionpublic IType getBlockReturnType()
public void setBlockReturnType(IType blockReturnType)
public IParsedElement getBody()
getBody in interface IBlockExpressionpublic List<ISymbol> getArgs()
getArgs in interface IBlockExpressionpublic ICapturedSymbol getCapturedSymbol(String strName)
getCapturedSymbol in interface IBlockExpressionpublic void addCapturedSymbol(ICapturedSymbol sym)
public boolean isWithinScope(ISymbol sym, ISymbolTable symbolTable)
isWithinScope in interface IBlockExpressionpublic String getFunctionName()
getFunctionName in interface IParsedElementgetFunctionName in class ParsedElementpublic void setScope(StandardScope blockScope)
public IScope getScope()
getScope in interface IBlockExpressionpublic boolean shouldClearParseInfo()
shouldClearParseInfo in class ParsedElementpublic void setBlockGosuClass(IBlockClassInternal blockClass)
public IBlockClass getBlockGosuClass()
getBlockGosuClass in interface IBlockExpressionpublic IGosuClass getGosuClass()
getGosuClass in interface IParsedElementgetGosuClass in class ParsedElementpublic Map<String,ICapturedSymbol> getCapturedSymbols()
public void updateGosuClass()
Copyright © 2019. All rights reserved.