Package gw.lang.parser
Class ParserOptions
java.lang.Object
gw.lang.parser.ParserOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTi()booleanbooleanbooleanbooleanbooleanbooleanvoidsetParserOptions(IGosuParser parser) withAdditionalDFSDecls(ISymbolTable additionalDFSDecls) withCaptureSymbolsForEval(boolean captureSymbolsForEval) withCtxInferenceMgr(Object ctxInferenceMgr) withDeclSymbols(Map<String, List<IFunctionSymbol>> declSymbols) withEnclosingType(String strEnclosingType) withExpectedType(IType expectedType) withFileContext(IFileContext fileContext) withGenRootExprAccess(boolean genRootExprAccess) withIgnoreWarning(ResourceKey msgKey) withParser(IGosuParser parser) withScriptPartId(IScriptPartId partId) withShouldOptimize(boolean shouldOptimize) withSuperType(IType superType) withTypeUsesMap(ITypeUsesMap typeUsesMap)
-
Constructor Details
-
ParserOptions
public ParserOptions()
-
-
Method Details
-
withParser
-
withTypeUsesMap
-
withEnclosingType
-
withDefaultTypeUsesMap
-
withExpectedType
-
withTokenizerInstructor
-
withFileContext
-
withCtxInferenceMgr
-
withGenRootExprAccess
-
withAdditionalDFSDecls
-
withCaptureSymbolsForEval
-
withDeclSymbols
-
asThrowawayProgram
-
asAnonymous
-
withStatementsOnly
-
isStatementsOnly
public boolean isStatementsOnly() -
setParserOptions
-
getExpectedType
-
getEnclosingType
-
getFileContext
-
getTypeUsesMap
-
getTi
-
isBGenRootExprAccess
public boolean isBGenRootExprAccess() -
getAdditionalDFSDecls
-
isCaptureSymbolsForEval
public boolean isCaptureSymbolsForEval() -
getDeclSymbols
-
withShouldOptimize
-
isShouldOptimize
public boolean isShouldOptimize() -
getParser
-
getCtxInferenceMgr
-
withSuperType
-
getSuperType
-
withScriptPartId
-
getScriptPartId
-
isThrowawayProgram
public boolean isThrowawayProgram() -
isAnonymous
public boolean isAnonymous() -
allowUses
public boolean allowUses() -
withIgnoreWarning
-
allowUsesInBody
-