public class CompilerPnutsImpl extends PnutsImpl
PnutsImpl,
CachedPnutsImplRuntime.Accessor, Runtime.Break, Runtime.Continue, Runtime.FunctionSerializer, Runtime.TypeMappropertiesBOOLEAN_SYMBOL, BYTE_SYMBOL, CHAR_SYMBOL, CLONE, DOUBLE_SYMBOL, EXCEPTOIN_FIELD_SYMBOL, FLOAT_SYMBOL, INT_SYMBOL, LONG_SYMBOL, SHORT_SYMBOL, VOID_SYMBOL| Constructor and Description |
|---|
CompilerPnutsImpl() |
CompilerPnutsImpl(boolean includeLineNo) |
CompilerPnutsImpl(boolean includeLineNo,
boolean useDynamicProxy) |
CompilerPnutsImpl(boolean includeLineNo,
boolean includeColumnNo,
boolean useDynamicProxy) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(SimpleNode node,
Context context)
Interpret an AST
|
void |
includeColumnNo(boolean flag) |
void |
includeLineNo(boolean flag) |
void |
setProperty(java.lang.String key,
java.lang.String value) |
eval, getDefault, load, load, loadFile, popFile, provide, pushFile, queryProperty, revoke, setProperties_callConstructor, _callMethod, add, add, add1, add1, addImport, addStaticMembers, and, and, applyGenerator, arraydim, arrayType, call, call, callConstructor, callFunction, callMethod, cast, catchException, checkException, checkException, compareObjects, compareTo, compareTo, createList, createMap, defineTopLevelFunction, defineUnboundFunction, divide, divide, eq, eq, escape, exec, execute, fileToURL, findCallableMethod, format, format, ge, ge, getArrayLength, getBeanProperty, getBeanProperty, getBeanProperty, getBeanPropertyType, getBeginColumn, getBeginLine, getBottomType, getCompiledScript, getConstructors, getElement, getElementAt, getEndLine, getField, getField, getFunction, getFunction, getFunctions, getMessage, getMethods, getProperty, getRange, getRuntime, getScriptReader, getScriptSource, getScriptURL, getStaticField, getThreadContext, gt, gt, isArray, isGenerator, jump, le, le, loadNode, lt, lt, makeArray, matchType, mod, mod, multiply, multiply, ne, ne, negate, negate, newInstance, not, not, or, or, parseChar, parseFloat, parseInt, parseString, primitive, printError, putField, putStaticField, quantity, replaceChar, run, saveNode, setBeanProperty, setBeanProperty, setBeanProperty, setElement, setExitHook, setLine, setLine, setPackage, setRange, setThreadContext, shiftArithmetic, shiftArithmetic, shiftLeft, shiftLeft, shiftRight, shiftRight, subtract, subtract, subtract1, subtract1, throwException, toBoolean, toEnumeration, transform, transform, unparse, xor, xorpublic CompilerPnutsImpl()
public CompilerPnutsImpl(boolean includeLineNo)
public CompilerPnutsImpl(boolean includeLineNo,
boolean useDynamicProxy)
public CompilerPnutsImpl(boolean includeLineNo,
boolean includeColumnNo,
boolean useDynamicProxy)
public void setProperty(java.lang.String key,
java.lang.String value)
setProperty in class PnutsImplpublic void includeLineNo(boolean flag)
public void includeColumnNo(boolean flag)
public java.lang.Object accept(SimpleNode node, Context context)
Implementationaccept in interface Implementationaccept in class PnutsImplnode - the ASTcontext - the context in which the AST is interpreted