A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AA - Static variable in interface pnuts.lang.PnutsParserConstants
 
AALOAD - Static variable in interface pnuts.compiler.Opcode
 
AASTORE - Static variable in interface pnuts.compiler.Opcode
 
AbstractData - Interface in pnuts.lang
Method call of an object implements this interface causes a call of the invoke() method.
ACC_ABSTRACT - Static variable in interface pnuts.compiler.Constants
 
ACC_FINAL - Static variable in interface pnuts.compiler.Constants
 
ACC_INTERFACE - Static variable in interface pnuts.compiler.Constants
 
ACC_NATIVE - Static variable in interface pnuts.compiler.Constants
 
ACC_PRIVATE - Static variable in interface pnuts.compiler.Constants
 
ACC_PROTECTED - Static variable in interface pnuts.compiler.Constants
 
ACC_PUBLIC - Static variable in interface pnuts.compiler.Constants
 
ACC_STATIC - Static variable in interface pnuts.compiler.Constants
 
ACC_SYNCHRONIZED - Static variable in interface pnuts.compiler.Constants
 
ACC_TRANSIENT - Static variable in interface pnuts.compiler.Constants
 
ACC_VOLATILE - Static variable in interface pnuts.compiler.Constants
 
accept(SimpleNode, int, Context) - Method in class pnuts.compiler.Compiler
 
accept(SimpleNode, Context) - Method in class pnuts.compiler.CompilerPnutsImpl
 
accept(Visitor, Context) - Method in class pnuts.ext.CachedScript
 
accept(SimpleNode, Context) - Method in class pnuts.ext.ImplementationAdapter
 
accept(SimpleNode, Context) - Method in class pnuts.ext.PnutsImplAdapter
Deprecated.  
accept(Visitor, Context) - Method in class pnuts.lang.Function
 
accept(SimpleNode, Context) - Method in interface pnuts.lang.Implementation
Interpret an AST
accept(Visitor, Context) - Method in class pnuts.lang.Pnuts
traverse the parsed tree with the specified Visitor and Context
accept(Context) - Method in class pnuts.lang.Pnuts
Executes the parsed script
accept(int, Visitor, Context) - Method in class pnuts.lang.PnutsFunction
 
accept(SimpleNode, Context) - Method in class pnuts.lang.PnutsImpl
 
accept(SimpleNode, int, Context) - Method in class pnuts.lang.PnutsInterpreter
 
accept(Visitor, Context) - Method in class pnuts.lang.SimpleNode
dispatch the instance to a Visitor
accept(SimpleNode, Context) - Method in class pnuts.security.SecurePnutsImpl
Evaluate a parsed script
ACONST_NULL - Static variable in interface pnuts.compiler.Opcode
 
actionSuffix - Static variable in class pnuts.tools.VisualDebuggerView
 
add(byte) - Method in class pnuts.compiler.ClassFile
 
add(byte, Label) - Method in class pnuts.compiler.ClassFile
 
add(byte, int) - Method in class pnuts.compiler.ClassFile
 
add(byte, int, int) - Method in class pnuts.compiler.ClassFile
 
add(byte, String) - Method in class pnuts.compiler.ClassFile
 
add(byte, String, String, String) - Method in class pnuts.compiler.ClassFile
 
add(byte, String, String, String, String) - Method in class pnuts.compiler.ClassFile
 
add(Object) - Method in interface pnuts.lang.Numeric
Adds the value of parameter to itself
add(Object, Object) - Static method in class pnuts.lang.Runtime
+ operation
add(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
add1(Object) - Static method in class pnuts.lang.Runtime
Add 1 to an object (integer)
add1(Object, Context) - Static method in class pnuts.lang.Runtime
 
add_escapes(String) - Method in exception pnuts.lang.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addByte(byte) - Method in class pnuts.compiler.ClassFile
 
addCommandListener(CommandListener) - Method in class pnuts.tools.DebugContext
 
addConstant(String) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, short) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, int) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, long) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, double) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, String) - Method in class pnuts.compiler.ClassFile
 
added(int) - Method in class pnuts.lang.PnutsFunction
This method is called when a Function object is registered to this object.
addEscapes(String) - Static method in error pnuts.lang.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addExceptionHandler(Label, Label, Label, String) - Method in class pnuts.compiler.ClassFile
 
addField(String, String, short) - Method in class pnuts.compiler.ClassFile
 
addImport(Context, String) - Static method in class pnuts.lang.Runtime
 
addInt(int) - Method in class pnuts.compiler.ClassFile
 
addInterface(String) - Method in class pnuts.compiler.ClassFile
 
AdditiveExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
addLineNumber(int) - Method in class pnuts.compiler.ClassFile
 
addNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
addNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
addNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
addNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
addPackage(Package, Context) - Method in class pnuts.lang.Package
 
addPackage(Package, Context) - Method in class pnuts.security.SecurePackage
 
addReadMethod(String, Object) - Method in class pnuts.compiler.DynamicRuntime.DynamicAccessor
 
addReadMethod(String, Object) - Method in class pnuts.lang.Runtime.Accessor
 
addSandBoxPermissions(URL, PermissionCollection) - Method in class pnuts.security.SecurePnutsImpl
Add Applet sand-box permissions to the specified PermissionCollection.
addStaticMembers(Context, String, boolean) - Static method in class pnuts.lang.Runtime
 
addWriteMethod(String, Object) - Method in class pnuts.compiler.DynamicRuntime.DynamicAccessor
 
addWriteMethod(String, Object) - Method in class pnuts.lang.Runtime.Accessor
 
ALOAD - Static variable in interface pnuts.compiler.Opcode
 
ALOAD_0 - Static variable in interface pnuts.compiler.Opcode
 
ALOAD_1 - Static variable in interface pnuts.compiler.Opcode
 
ALOAD_2 - Static variable in interface pnuts.compiler.Opcode
 
ALOAD_3 - Static variable in interface pnuts.compiler.Opcode
 
analyze(Reader) - Method in class pnuts.compiler.ScopeAnalyzer
Analyzes a script
analyze(PnutsParser) - Method in class pnuts.compiler.ScopeAnalyzer
 
analyze(SimpleNode) - Method in class pnuts.compiler.ScopeAnalyzer
 
and(Object, Object) - Static method in class pnuts.lang.Runtime
& operation
and(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
AndExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
andNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
andNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
andNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
andNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ANEWARRAY - Static variable in interface pnuts.compiler.Opcode
 
ANEWARRAY_QUICK - Static variable in interface pnuts.compiler.Opcode
 
append(String) - Method in interface pnuts.tools.ConsoleUI
Displays an output from the scripting engine
append(String) - Method in class pnuts.tools.JTextComponentConsoleUI
 
applicationNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
applicationNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
applicationNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ApplicationNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
applicationNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
apply(PnutsFunction, Context) - Method in class pnuts.lang.Generator
 
applyGenerator(Generator, PnutsFunction, Context) - Static method in class pnuts.lang.Runtime
 
ARETURN - Static variable in interface pnuts.compiler.Opcode
 
ArgumentExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
arraydim(Object) - Static method in class pnuts.lang.Runtime
 
ARRAYLENGTH - Static variable in interface pnuts.compiler.Opcode
 
ArraySuffix(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
arrayType(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
arrayType(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
arrayType(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ArrayType() - Method in class pnuts.lang.PnutsParser
 
arrayType(Class, int) - Static method in class pnuts.lang.Runtime
Creates an array type
arrayType(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
asMap() - Method in class pnuts.lang.Package
Returns a Map object that wraps this package
ASSIGN - Static variable in interface pnuts.lang.PnutsParserConstants
 
assignment(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignment(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignment(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
Assignment(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
assignment(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentAA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentDA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentEA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentLA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentMA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentOA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentPA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentRA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentRAA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentSA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentTA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ASTORE - Static variable in interface pnuts.compiler.Opcode
 
ASTORE_0 - Static variable in interface pnuts.compiler.Opcode
 
ASTORE_1 - Static variable in interface pnuts.compiler.Opcode
 
ASTORE_2 - Static variable in interface pnuts.compiler.Opcode
 
ASTORE_3 - Static variable in interface pnuts.compiler.Opcode
 
ATHROW - Static variable in interface pnuts.compiler.Opcode
 
autoload(String[], String, Context) - Method in class pnuts.ext.ModuleBase
Registers an autoloaded script for functionNames.
autoload(String, String) - Method in class pnuts.lang.Context
Registers an autoload script for the name.
autoload(String, AutoloadHook) - Method in class pnuts.lang.Context
Registers an AutoloadHook for the name in the current package.
autoload(String, String, Context) - Method in class pnuts.lang.Package
Registers an autoload script for the name.
autoload(String, AutoloadHook) - Method in class pnuts.lang.Package
Registers an AutoloadHook for the name.
AUTOLOAD - Static variable in class pnuts.lang.PnutsFunction
 
autoloadClass(String, String, Context) - Method in class pnuts.ext.ModuleBase
Registers an autoloaded Class object.
autoloadFunction(String, Context) - Method in class pnuts.ext.ModuleBase
Registers an autoloaded class for functionName.
AutoloadHook - Interface in pnuts.lang
This interface defines how to find the value of a undefined variable.
autoloadTable - Variable in class pnuts.lang.Package
 

B

BACKQUOTE - Static variable in interface pnuts.lang.PnutsParserConstants
 
BALOAD - Static variable in interface pnuts.compiler.Opcode
 
BANG - Static variable in interface pnuts.lang.PnutsParserConstants
 
base - Variable in class pnuts.ext.ConfigurationAdapter
 
BASTORE - Static variable in interface pnuts.compiler.Opcode
 
beanClass - Variable in class pnuts.lang.Runtime.Accessor
 
beginColumn - Variable in class pnuts.lang.Context
 
beginColumn - Variable in class pnuts.lang.SimpleNode
 
beginColumn - Variable in class pnuts.lang.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class pnuts.lang.Context
 
beginLine - Variable in class pnuts.lang.SimpleNode
 
beginLine - Variable in class pnuts.lang.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BinaryOperator - Class in pnuts.lang
Abstract base class of binary operations
BinaryOperator() - Constructor for class pnuts.lang.BinaryOperator
 
BinaryOperator.Add - Class in pnuts.lang
The default implementation of + operator
BinaryOperator.Add() - Constructor for class pnuts.lang.BinaryOperator.Add
 
BinaryOperator.And - Class in pnuts.lang
The default implementation of & operator
BinaryOperator.And() - Constructor for class pnuts.lang.BinaryOperator.And
 
BinaryOperator.Divide - Class in pnuts.lang
The default implementation of / operator
BinaryOperator.Divide() - Constructor for class pnuts.lang.BinaryOperator.Divide
 
BinaryOperator.Mod - Class in pnuts.lang
The default implementation of % operator
BinaryOperator.Mod() - Constructor for class pnuts.lang.BinaryOperator.Mod
 
BinaryOperator.Multiply - Class in pnuts.lang
The default implementation of * operator
BinaryOperator.Multiply() - Constructor for class pnuts.lang.BinaryOperator.Multiply
 
BinaryOperator.Or - Class in pnuts.lang
The default implementation of | operator (bitwise OR)
BinaryOperator.Or() - Constructor for class pnuts.lang.BinaryOperator.Or
 
BinaryOperator.ShiftArithmetic - Class in pnuts.lang
The default implementation of >>> operator
BinaryOperator.ShiftArithmetic() - Constructor for class pnuts.lang.BinaryOperator.ShiftArithmetic
 
BinaryOperator.ShiftLeft - Class in pnuts.lang
The default implementation of < operator
BinaryOperator.ShiftLeft() - Constructor for class pnuts.lang.BinaryOperator.ShiftLeft
 
BinaryOperator.ShiftRight - Class in pnuts.lang
The default implementation of > operator
BinaryOperator.ShiftRight() - Constructor for class pnuts.lang.BinaryOperator.ShiftRight
 
BinaryOperator.Subtract - Class in pnuts.lang
The default implementation of - operator
BinaryOperator.Subtract() - Constructor for class pnuts.lang.BinaryOperator.Subtract
 
BinaryOperator.Xor - Class in pnuts.lang
The default implementation of ^ operator
BinaryOperator.Xor() - Constructor for class pnuts.lang.BinaryOperator.Xor
 
BIPUSH - Static variable in interface pnuts.compiler.Opcode
 
BIT_AND - Static variable in interface pnuts.lang.PnutsParserConstants
 
BIT_OR - Static variable in interface pnuts.lang.PnutsParserConstants
 
Block(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
Block0(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
Block2(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
blockNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
blockNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
blockNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
blockNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
BOOLEAN_SYMBOL - Static variable in class pnuts.lang.Runtime
 
BooleanLiteral() - Method in class pnuts.lang.PnutsParser
 
BooleanOperator - Class in pnuts.lang
Abstract base class of boolean operations
BooleanOperator() - Constructor for class pnuts.lang.BooleanOperator
 
BooleanOperator.EQ - Class in pnuts.lang
The default implementation of == operator
BooleanOperator.EQ() - Constructor for class pnuts.lang.BooleanOperator.EQ
 
BooleanOperator.GE - Class in pnuts.lang
The default implementation of >= operator
BooleanOperator.GE() - Constructor for class pnuts.lang.BooleanOperator.GE
 
BooleanOperator.GT - Class in pnuts.lang
The default implementation of > operator
BooleanOperator.GT() - Constructor for class pnuts.lang.BooleanOperator.GT
 
BooleanOperator.LE - Class in pnuts.lang
The default implementation of <= operator
BooleanOperator.LE() - Constructor for class pnuts.lang.BooleanOperator.LE
 
BooleanOperator.LT - Class in pnuts.lang
The default implementation of < operator
BooleanOperator.LT() - Constructor for class pnuts.lang.BooleanOperator.LT
 
Break(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
BREAK - Static variable in interface pnuts.lang.PnutsParserConstants
 
breakNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
breakNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
breakNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
breakNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
BREAKPOINT - Static variable in interface pnuts.compiler.Opcode
 
byte_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
BYTE_SYMBOL - Static variable in class pnuts.lang.Runtime
 

C

CachedPnutsImpl - Class in pnuts.ext
PnutsImpl which caches parsed (compiled) scripts and reuse them.
CachedPnutsImpl() - Constructor for class pnuts.ext.CachedPnutsImpl
 
CachedPnutsImpl(boolean) - Constructor for class pnuts.ext.CachedPnutsImpl
 
CachedPnutsImpl(boolean, boolean, boolean) - Constructor for class pnuts.ext.CachedPnutsImpl
 
CachedPnutsImpl(boolean, boolean, boolean, Cache) - Constructor for class pnuts.ext.CachedPnutsImpl
 
CachedPnutsImpl.ScriptCacheEntry - Class in pnuts.ext
 
CachedPnutsImpl.ScriptCacheEntry() - Constructor for class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
 
CachedScript - Class in pnuts.ext
Executable script that is automatically recompiled
CachedScript(URL) - Constructor for class pnuts.ext.CachedScript
Constructor
CachedScript(URL, String, Context) - Constructor for class pnuts.ext.CachedScript
Constructor
call(Object[], Context) - Method in interface pnuts.lang.Callable
Executes the callable object
call(Object[], Context) - Method in class pnuts.lang.PnutsFunction
Call a function in "context" with arguments "args".
call(String, Object[], Context) - Static method in class pnuts.lang.PnutsFunction
call a function "name" in "context" with arguments "args"
call(Context, Object, Object[], Class[]) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "funcOrClass(args...)"
call(Context, Object, Object[], Class[], int, int) - Static method in class pnuts.lang.Runtime
 
Callable - Interface in pnuts.lang
Callable object can be the target of function call expression.
callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.ext.ConfigurationAdapter
Call a constructor.
callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.Configuration
Calls a constructor
callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.JavaBeansConfiguration
Calls a constructor
callConstructor(Context, Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
Call a constructor
callFunction(Context, PnutsFunction, Object[]) - Static method in class pnuts.lang.Runtime
Call a function
callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.ext.ConfigurationAdapter
Call a method.
callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.ext.NonPublicMemberAccessor
 
callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.Configuration
Calls a method
callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.JavaBeansConfiguration
Calls a method
callMethod(Context, Class, String, Object[], Class[], Object) - Static method in class pnuts.lang.Runtime
Call a method
CALOAD - Static variable in interface pnuts.compiler.Opcode
 
CASE - Static variable in interface pnuts.lang.PnutsParserConstants
 
cast(Context, Class, Object, boolean) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "(Class)object"
castExpression(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
castExpression(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
castExpression(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
CastExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
castExpression(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
CastLookAhead() - Method in class pnuts.lang.PnutsParser
 
CASTORE - Static variable in interface pnuts.compiler.Opcode
 
CATCH - Static variable in class pnuts.lang.PnutsFunction
 
CATCH - Static variable in interface pnuts.lang.PnutsParserConstants
 
catchBlock(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
catchBlock(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
catchBlock(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
CatchBlock(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
catchBlock(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
catchException(Class, PnutsFunction, Context) - Static method in class pnuts.lang.Runtime
This method is called when catch() function is called in a package(non-local) scope
catchNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
catchNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
catchNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
CatchNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
catchNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
char_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
CHAR_SYMBOL - Static variable in class pnuts.lang.Runtime
 
CHARACTER_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
characterNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
characterNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
characterNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
characterNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
CHECKCAST - Static variable in interface pnuts.compiler.Opcode
 
CHECKCAST_QUICK - Static variable in interface pnuts.compiler.Opcode
 
checkException(Context, Throwable) - Static method in class pnuts.lang.Runtime
 
checkException(Context, Throwable, Runtime.TypeMap) - Static method in class pnuts.lang.Runtime
Check if any exception handler is registered to the specified exception.
children - Variable in class pnuts.lang.SimpleNode
 
CLASS - Static variable in class pnuts.lang.PnutsFunction
 
Class() - Method in class pnuts.lang.PnutsParser
 
CLASS - Static variable in interface pnuts.lang.PnutsParserConstants
 
classDef(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
classDef(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
classDef(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ClassDef(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
classDef(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
classDefBody(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
classDefBody(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
classDefBody(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ClassDefBody(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
classDefBody(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ClassExpr(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ClassFile - Class in pnuts.compiler
This class provides a way of making Java class file image.
ClassFile(String, String, String, short) - Constructor for class pnuts.compiler.ClassFile
 
ClassFileException - Exception in pnuts.compiler
 
ClassFileException() - Constructor for exception pnuts.compiler.ClassFileException
 
ClassFileException(String) - Constructor for exception pnuts.compiler.ClassFileException
 
ClassFileHandler - Interface in pnuts.compiler
This interface defines an abstract interface to get a result of compilation.
ClassGenerator - Class in pnuts.compiler
 
ClassGenerator() - Constructor for class pnuts.compiler.ClassGenerator
 
ClassGenerator.SuperCallProxy - Class in pnuts.compiler
 
ClassGenerator.SuperCallProxy(Object) - Constructor for class pnuts.compiler.ClassGenerator.SuperCallProxy
 
className(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
className(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
className(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ClassName() - Method in class pnuts.lang.PnutsParser
 
className(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
classNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
classNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
classNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
classNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
classScript(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
classScript(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
classScript(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ClassScript(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
classScript(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
clear(String, Context) - Method in class pnuts.lang.Package
Deletes a symbol from the package.
clear(String, Context) - Method in class pnuts.security.SecurePackage
 
clearAction - Static variable in class pnuts.tools.VisualDebuggerView
 
clearBreakPoints() - Method in interface pnuts.tools.Debugger
Remove all breakpoints
clearBreakPoints() - Method in class pnuts.tools.TerminalDebugger
 
clearBreakPoints() - Method in class pnuts.tools.VisualDebugger
 
clearBreakPoints() - Method in class pnuts.tools.VisualDebuggerModel
 
clearPackages() - Method in class pnuts.lang.Context
Unregisteres all use()'d packages
clone() - Method in class pnuts.lang.Context
Make a clone of the context
clone(boolean, boolean) - Method in class pnuts.lang.Context
Make a clone of the context
clone() - Method in class pnuts.lang.Package
Returns a clone package.
clone() - Method in class pnuts.lang.PnutsFunction
 
CLONE - Static variable in class pnuts.lang.Runtime
 
clone() - Method in class pnuts.lang.SimpleNode
 
clone(boolean, boolean, boolean) - Method in class pnuts.tools.DebugContext
 
close(Function, Object[]) - Method in class pnuts.lang.Context
 
close() - Method in interface pnuts.tools.ConsoleUI
 
close(Function, Object[]) - Method in class pnuts.tools.DebugContext
Tracks stack depth (function return) in pure interpreter.
close() - Method in class pnuts.tools.JTextComponentConsoleUI
 
close() - Method in class pnuts.tools.PnutsConsole
 
close() - Method in class pnuts.tools.PnutsConsoleUI
 
CLOSE_FRAME - Static variable in class pnuts.tools.CommandEvent
The event type which indicates a function returned.
closeAction - Static variable in class pnuts.tools.VisualDebuggerView
 
closeMethod() - Method in class pnuts.compiler.ClassFile
 
Closure(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
CLOSURE - Static variable in interface pnuts.lang.PnutsParserConstants
 
codeSize() - Method in class pnuts.compiler.ClassFile
 
COLON - Static variable in interface pnuts.lang.PnutsParserConstants
 
COLON2 - Static variable in interface pnuts.lang.PnutsParserConstants
 
column - Variable in exception pnuts.lang.PnutsException
 
COMMA - Static variable in interface pnuts.lang.PnutsParserConstants
 
COMMAND_HEADER - Static variable in interface pnuts.lang.PnutsParserConstants
 
CommandEvent - Class in pnuts.tools
Event object which is created by DebugContext to communicate with a debugger.
CommandEvent(Context, int, Object) - Constructor for class pnuts.tools.CommandEvent
Constructor
CommandListener - Interface in pnuts.tools
 
compareObjects(Object, Object) - Static method in class pnuts.lang.Runtime
Compare two objects Elements of List and array are recursively compared.
compareTo(Object) - Method in interface pnuts.lang.Numeric
Compares the object with the parameter.
compareTo(Object, Object) - Static method in class pnuts.lang.Runtime
Compares n1 with n2
compareTo(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
compile(Pnuts, ClassFileHandler) - Method in class pnuts.compiler.Compiler
Compile a parsed expression.
compile(Pnuts, Context) - Method in class pnuts.compiler.Compiler
Compile a parsed expression.
compile(String) - Method in class pnuts.compiler.Compiler
Compile an expression.
compile(String, Context) - Method in class pnuts.compiler.Compiler
Compile an expression.
compile(PnutsFunction, ClassFileHandler) - Method in class pnuts.compiler.Compiler
Compile a function group.
compile(PnutsFunction) - Method in class pnuts.compiler.Compiler
Compile a function group
compile(PnutsFunction, Context) - Method in class pnuts.compiler.Compiler
Compile a function group
compileClassScript(SimpleNode, Object, List) - Method in class pnuts.compiler.Compiler
 
compileClassScript(Reader, Object, ClassFileHandler) - Method in class pnuts.compiler.Compiler
 
Compiled - Interface in pnuts.compiler
This interface serves to identify classes which are generated by Compiler.
Compiler - Class in pnuts.compiler
Pnuts to JVM bytecode compiler
Compiler() - Constructor for class pnuts.compiler.Compiler
 
Compiler(String) - Constructor for class pnuts.compiler.Compiler
 
Compiler(String, boolean) - Constructor for class pnuts.compiler.Compiler
 
Compiler(String, boolean, boolean) - Constructor for class pnuts.compiler.Compiler
 
CompilerPnutsImpl - Class in pnuts.compiler
A subclass of PnutsImpl that always compiles scripts.
CompilerPnutsImpl() - Constructor for class pnuts.compiler.CompilerPnutsImpl
 
CompilerPnutsImpl(boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
 
CompilerPnutsImpl(boolean, boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
 
CompilerPnutsImpl(boolean, boolean, boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
 
compileToFile(Pnuts, String, File) - Method in class pnuts.tools.PnutsCompiler
Compile a parsed expression and save the compiled code to class files.
compileToFile(File, String[], String[], String[], String, String, String) - Method in class pnuts.tools.PnutsCompiler
Compile Pnuts scripts and save the generated code into class files.
compileToZip(Pnuts, String, ZipOutputStream) - Method in class pnuts.tools.PnutsCompiler
Compile a parsed expression and save the compiled code to a Zip file
compileToZip(ZipOutputStream, String[], String[], String[], String, String, String) - Method in class pnuts.tools.PnutsCompiler
Compile Pnuts scripts and save the generated code into a ZIP file.
CompositePackage - Class in pnuts.ext
Composed hierarchical names space based on a Package.
CompositePackage() - Constructor for class pnuts.ext.CompositePackage
 
CompositePackage(Package) - Constructor for class pnuts.ext.CompositePackage
Constructor
compressNumber(Number) - Static method in class pnuts.lang.BinaryOperator
 
ConditionalAndExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ConditionalExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ConditionalOrExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
config - Variable in class pnuts.lang.Function
 
Configuration - Class in pnuts.lang
This class defines the interface of runtime configuration, such as how to find method/field candidates, how to get the field value, how to get indexed elements, and so on.
Configuration() - Constructor for class pnuts.lang.Configuration
 
ConfigurationAdapter - Class in pnuts.ext
 
ConfigurationAdapter() - Constructor for class pnuts.ext.ConfigurationAdapter
Constructor
ConfigurationAdapter(Configuration) - Constructor for class pnuts.ext.ConfigurationAdapter
Constructor
Console - Class in pnuts.tools
General purpose Console
Console() - Constructor for class pnuts.tools.Console
Constructor
ConsoleUI - Interface in pnuts.tools
 
CONSTANT_Class - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Double - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Fieldref - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Float - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Integer - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_InterfaceMethodref - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Long - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Methodref - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_NameAndType - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_String - Static variable in interface pnuts.compiler.Constants
 
CONSTANT_Utf8 - Static variable in interface pnuts.compiler.Constants
 
Constants - Interface in pnuts.compiler
 
constructor(ClassFile, Class, Compiler, Context, List, List, int) - Static method in class pnuts.compiler.ClassGenerator
 
contAction - Static variable in class pnuts.tools.VisualDebuggerView
 
Context - Class in pnuts.lang
Context represents an internal state of a particular script execution.
Context() - Constructor for class pnuts.lang.Context
Create a new context
Context(String) - Constructor for class pnuts.lang.Context
Creates a context.
Context(Package) - Constructor for class pnuts.lang.Context
Creates a context.
Context(Context) - Constructor for class pnuts.lang.Context
Creates a context from a template
Context(Properties) - Constructor for class pnuts.lang.Context
 
ContextEvent - Class in pnuts.tools
 
ContextEvent(Object) - Constructor for class pnuts.tools.ContextEvent
 
ContextFactory - Interface in pnuts.tools
Factory for Context object
ContextListener - Interface in pnuts.tools
 
contextName - Variable in exception pnuts.lang.PnutsException
 
Continue() - Method in class pnuts.lang.PnutsParser
 
CONTINUE - Static variable in interface pnuts.lang.PnutsParserConstants
 
continueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
continueNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
continueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
continueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
convertYield(SimpleNode, String) - Static method in class pnuts.lang.Generator
 
createCache() - Static method in class pnuts.ext.CachedPnutsImpl
 
createClassFile(String, Class, Class[], int) - Static method in class pnuts.compiler.ClassGenerator
 
createClassLoader(Context) - Static method in class pnuts.lang.Pnuts
Create a classloader that can compile scripted classes with the current thread's context classloader as its parent classloader
createClassLoader(Context, ClassLoader) - Static method in class pnuts.lang.Pnuts
Create a classloader that can compile scripted classes
createCodeLoader(ClassLoader) - Static method in class pnuts.compiler.Compiler
 
createConsole(Context, String) - Method in class pnuts.tools.PnutsConsoleUI
 
createConsole() - Method in class pnuts.tools.PnutsConsoleUI
 
createConsole(String[], Context, ClassLoader, String, boolean, Runnable, int) - Method in class pnuts.tools.PnutsConsoleUI
 
createContext() - Method in interface pnuts.tools.ContextFactory
Create a context
createContext() - Method in class pnuts.tools.TerminalDebugger
 
createContext(Context) - Method in class pnuts.tools.VisualDebugger
 
createContext() - Method in class pnuts.tools.VisualDebugger
 
createList() - Method in class pnuts.lang.Configuration
 
createList(Context) - Static method in class pnuts.lang.Runtime
 
createMap(int, Context) - Method in class pnuts.ext.ConfigurationAdapter
Create a new Map object that corresponds to {key=>value} expression.
createMap(int, Context) - Method in class pnuts.lang.Configuration
Create a new Map object that corresponds to {key=>value} expression.
createMap(int, Context) - Static method in class pnuts.lang.Runtime
 
createMenu(String) - Method in class pnuts.tools.VisualDebuggerView
Create a menu for the app.
createMenubar() - Method in class pnuts.tools.VisualDebuggerView
Create the menubar for the app.
createMenuItem(String) - Method in class pnuts.tools.VisualDebuggerView
Create a menu item for the specified command
createPackage(String, Package) - Method in interface pnuts.lang.PackageFactory
 
createPackage(String, Package) - Method in class pnuts.security.SecurePackageFactory
 
createTextArea() - Method in class pnuts.tools.VisualDebuggerView
Create an editor to represent the given document.
createTextComponent() - Method in class pnuts.tools.JTextComponentConsoleUI
 
createToolbarButton(String) - Method in class pnuts.tools.VisualDebuggerView
Create a button to go inside of the toolbar.
curChar - Variable in class pnuts.lang.PnutsParserTokenManager
 
currentToken - Variable in exception pnuts.lang.ParseException
This is the last token that has been consumed successfully.

D

D2F - Static variable in interface pnuts.compiler.Opcode
 
D2I - Static variable in interface pnuts.compiler.Opcode
 
D2L - Static variable in interface pnuts.compiler.Opcode
 
DA - Static variable in interface pnuts.lang.PnutsParserConstants
 
DADD - Static variable in interface pnuts.compiler.Opcode
 
DALOAD - Static variable in interface pnuts.compiler.Opcode
 
DASTORE - Static variable in interface pnuts.compiler.Opcode
 
DCMPG - Static variable in interface pnuts.compiler.Opcode
 
DCMPL - Static variable in interface pnuts.compiler.Opcode
 
DCONST_0 - Static variable in interface pnuts.compiler.Opcode
 
DCONST_1 - Static variable in interface pnuts.compiler.Opcode
 
DDIV - Static variable in interface pnuts.compiler.Opcode
 
DebugContext - Class in pnuts.tools
This class is a Context used in debug mode.
DebugContext() - Constructor for class pnuts.tools.DebugContext
 
DebugContext(Package) - Constructor for class pnuts.tools.DebugContext
 
DebugContext(Context) - Constructor for class pnuts.tools.DebugContext
 
Debugger - Interface in pnuts.tools
An abstract interface for debugger
debugStream - Variable in class pnuts.lang.PnutsParserTokenManager
 
DECIMAL_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
declared(SimpleNode, Context, String) - Method in class pnuts.compiler.ScopeAnalyzer
 
declareLocal() - Method in class pnuts.compiler.ClassFile
 
DEFAULT - Static variable in interface pnuts.lang.PnutsParserConstants
 
defaultErrorStream - Static variable in class pnuts.lang.Context
 
defaultOutputStream - Static variable in class pnuts.lang.Context
 
defaultTerminalStream - Static variable in class pnuts.lang.Context
 
defineClass(String, Context, Package) - Static method in class pnuts.compiler.Compiler
 
defineClass(SimpleNode, Context, Package) - Static method in class pnuts.compiler.Compiler
 
defined(String) - Method in class pnuts.lang.Context
Checks if the name is defined in the context.
defined(String, Context) - Method in class pnuts.lang.Package
Checks if the specified name is already defined in this package.
DEFINED - Static variable in class pnuts.lang.PnutsFunction
 
defined(int) - Method in class pnuts.lang.PnutsFunction
Check if the function with narg parameter is defined
defineMethod(ClassFile, Class[], Class, Class[], int, String, String, int) - Static method in class pnuts.compiler.ClassGenerator
 
defineTopLevelFunction(Function, String, Package, Context) - Static method in class pnuts.lang.Runtime
 
defineUnboundFunction(Function, String, Package) - Static method in class pnuts.lang.Runtime
 
depth - Variable in class pnuts.lang.Context
 
deserialize(PnutsFunction, ObjectInputStream) - Method in interface pnuts.lang.Runtime.FunctionSerializer
 
DFLT - Static variable in interface pnuts.lang.PnutsParserConstants
 
DIGIT - Static variable in interface pnuts.lang.PnutsParserConstants
 
disable_tracing() - Method in class pnuts.lang.PnutsParser
 
dispose() - Method in class pnuts.tools.PnutsConsole
 
divide(Object) - Method in interface pnuts.lang.Numeric
Divides itself by the value of parameter
divide(Object, Object) - Static method in class pnuts.lang.Runtime
/ operation
divide(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
divideNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
divideNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
divideNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
divideNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
DLOAD - Static variable in interface pnuts.compiler.Opcode
 
DLOAD_0 - Static variable in interface pnuts.compiler.Opcode
 
DLOAD_1 - Static variable in interface pnuts.compiler.Opcode
 
DLOAD_2 - Static variable in interface pnuts.compiler.Opcode
 
DLOAD_3 - Static variable in interface pnuts.compiler.Opcode
 
dloadLocal(int) - Method in class pnuts.compiler.ClassFile
 
DMUL - Static variable in interface pnuts.compiler.Opcode
 
DNEG - Static variable in interface pnuts.compiler.Opcode
 
DO - Static variable in interface pnuts.lang.PnutsParserConstants
 
do_close() - Method in class pnuts.tools.VisualDebuggerModel
 
do_cont() - Method in class pnuts.tools.VisualDebuggerModel
 
do_next(int) - Method in class pnuts.tools.VisualDebuggerModel
 
do_step(int) - Method in class pnuts.tools.VisualDebuggerModel
 
do_stepup() - Method in class pnuts.tools.VisualDebuggerModel
 
doStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
doStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
doStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
DoStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
doStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
DOT - Static variable in interface pnuts.lang.PnutsParserConstants
 
DOT2 - Static variable in interface pnuts.lang.PnutsParserConstants
 
double_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
DOUBLE_SYMBOL - Static variable in class pnuts.lang.Runtime
 
DOUBLEQUOTE - Static variable in interface pnuts.lang.PnutsParserConstants
 
DREM - Static variable in interface pnuts.compiler.Opcode
 
DRETURN - Static variable in interface pnuts.compiler.Opcode
 
DSTORE - Static variable in interface pnuts.compiler.Opcode
 
DSTORE_0 - Static variable in interface pnuts.compiler.Opcode
 
DSTORE_1 - Static variable in interface pnuts.compiler.Opcode
 
DSTORE_2 - Static variable in interface pnuts.compiler.Opcode
 
DSTORE_3 - Static variable in interface pnuts.compiler.Opcode
 
DSUB - Static variable in interface pnuts.compiler.Opcode
 
dump(String) - Method in class pnuts.lang.SimpleNode
 
DUP - Static variable in interface pnuts.compiler.Opcode
 
DUP2 - Static variable in interface pnuts.compiler.Opcode
 
DUP2_X1 - Static variable in interface pnuts.compiler.Opcode
 
DUP2_X2 - Static variable in interface pnuts.compiler.Opcode
 
DUP_X1 - Static variable in interface pnuts.compiler.Opcode
 
DUP_X2 - Static variable in interface pnuts.compiler.Opcode
 
DynamicProxy - Class in pnuts.compiler
 
DynamicProxy() - Constructor for class pnuts.compiler.DynamicProxy
 
DynamicProxyFactory - Class in pnuts.compiler
This class is used to create a proxy class on-the-fly to replace a reflective method call.
DynamicProxyFactory() - Constructor for class pnuts.compiler.DynamicProxyFactory
 
DynamicRuntime - Class in pnuts.compiler
 
DynamicRuntime() - Constructor for class pnuts.compiler.DynamicRuntime
 
DynamicRuntime.DynamicAccessor - Class in pnuts.compiler
 
DynamicRuntime.DynamicAccessor(Class, Class) - Constructor for class pnuts.compiler.DynamicRuntime.DynamicAccessor
 

E

EA - Static variable in interface pnuts.lang.PnutsParserConstants
 
elements() - Method in class pnuts.lang.Package
Deprecated.  
elements() - Method in class pnuts.lang.PnutsFunction
 
ELSE - Static variable in interface pnuts.lang.PnutsParserConstants
 
ElseIfNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ElseNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
enable_tracing() - Method in class pnuts.lang.PnutsParser
 
encoding - Variable in class pnuts.ext.CachedScript
 
endColumn - Variable in class pnuts.lang.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class pnuts.lang.Context
 
endLine - Variable in class pnuts.lang.SimpleNode
 
endLine - Variable in class pnuts.lang.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
enter(String) - Method in class pnuts.tools.Console
Sends the specified string to the scripting engine
enter(char[], int, int) - Method in class pnuts.tools.Console
Sends the specified characters to the scripting engine
entered(String) - Method in class pnuts.tools.JTextComponentConsoleUI
 
entered(String) - Method in class pnuts.tools.PnutsConsoleUI
 
environment - Variable in class pnuts.lang.Context
 
EOF - Static variable in interface pnuts.lang.PnutsParserConstants
 
eol - Variable in exception pnuts.lang.ParseException
The end of line string for this machine.
Eol() - Method in class pnuts.lang.PnutsParser
 
EOL - Static variable in interface pnuts.lang.PnutsParserConstants
 
EQ - Static variable in interface pnuts.lang.PnutsParserConstants
 
eq(Object, Object) - Static method in class pnuts.lang.Runtime
== operation
eq(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
EQUAL - Static variable in interface pnuts.lang.Numeric
 
EqualityExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
equalNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
equalNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
equalNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
equalNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
Escape - Exception in pnuts.lang
This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
Escape() - Constructor for exception pnuts.lang.Escape
 
Escape(Object) - Constructor for exception pnuts.lang.Escape
 
escape(Object) - Static method in class pnuts.lang.Runtime
 
eval(String, Context) - Method in class pnuts.ext.CachedPnutsImpl
 
eval(String, Context) - Method in class pnuts.ext.ImplementationAdapter
Evaluate an expreesion
eval(String, Context) - Method in class pnuts.ext.PnutsImplAdapter
Deprecated. Evaluate an expreesion
eval(String, Context) - Method in interface pnuts.lang.Implementation
Evaluate an expreesion
eval(String, Context) - Static method in class pnuts.lang.Pnuts
Evaluates "str" in "context"
EVAL - Static variable in class pnuts.lang.PnutsFunction
 
eval(String, Context) - Method in class pnuts.lang.PnutsImpl
Evaluate an expreesion
eval(String, Context) - Method in class pnuts.security.SecurePnutsImpl
Evaluate an expreesion
evalDepth(Context) - Static method in class pnuts.lang.Pnuts
Get the depth of evaluation.
EXCEPTION - Static variable in class pnuts.tools.CommandEvent
The event type which indicates some exception has been thrown.
EXCEPTOIN_FIELD_SYMBOL - Static variable in class pnuts.lang.Runtime
 
ExclusiveOrExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
exec(Object[], Context) - Method in class pnuts.lang.Function
 
exec(Object[], Context) - Method in class pnuts.lang.PnutsFunction
Call a function in "context" with arguments "args".
exec(PnutsFunction, Object[], Context) - Static method in class pnuts.lang.PnutsFunction
 
exec(Context) - Method in class pnuts.lang.Runtime
This method is overrided by classes generated by the compiler.
Executable - Interface in pnuts.lang
Common interface for executable objects Objects that represents parsed/compiled scripts implement this interface, so that they can be executed by calling run(Context) method.
execute(CompileContext, Context, boolean) - Method in class pnuts.compiler.Compiler
 
execute(Context) - Method in class pnuts.ext.ModuleBase
Subclasses should override this method, instead of run(Context), to define the initialization process.
execute(Context) - Method in class pnuts.lang.Runtime
Deprecated. replaced by run(Context)
execute(Context) - Method in class pnuts.tools.init
 
EXITED - Static variable in class pnuts.tools.CommandEvent
The event type which indicates the execution was normally terminated.
exitGUI() - Method in class pnuts.tools.VisualDebuggerView
 
expectedTokenSequences - Variable in exception pnuts.lang.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface pnuts.lang.PnutsParserConstants
 
export(String) - Method in class pnuts.lang.Package
Exports a symbol of the module
exportedSymbols - Variable in class pnuts.lang.Package
 
exports - Variable in class pnuts.lang.Package
 
Expression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
expressionList(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
expressionList(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
expressionList(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ExpressionList(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
expressionList(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
EXTENDS - Static variable in interface pnuts.lang.PnutsParserConstants
 

F

F2D - Static variable in interface pnuts.compiler.Opcode
 
F2I - Static variable in interface pnuts.compiler.Opcode
 
F2L - Static variable in interface pnuts.compiler.Opcode
 
FADD - Static variable in interface pnuts.compiler.Opcode
 
FALOAD - Static variable in interface pnuts.compiler.Opcode
 
FALSE - Static variable in interface pnuts.lang.PnutsParserConstants
 
falseNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
falseNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
falseNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
falseNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
FASTORE - Static variable in interface pnuts.compiler.Opcode
 
FCMPG - Static variable in interface pnuts.compiler.Opcode
 
FCMPL - Static variable in interface pnuts.compiler.Opcode
 
FCONST_0 - Static variable in interface pnuts.compiler.Opcode
 
FCONST_1 - Static variable in interface pnuts.compiler.Opcode
 
FCONST_2 - Static variable in interface pnuts.compiler.Opcode
 
FDIV - Static variable in interface pnuts.compiler.Opcode
 
FieldDef(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
file - Variable in class pnuts.lang.Function
file name in which this function is defined
file - Variable in exception pnuts.lang.PnutsException
 
fileToURL(File) - Static method in class pnuts.lang.Runtime
Gets a URL from a File
FileWriterHandler - Class in pnuts.compiler
This class is a concrete class of ClassFileHandler.
FileWriterHandler(File) - Constructor for class pnuts.compiler.FileWriterHandler
 
FINALLY - Static variable in interface pnuts.lang.PnutsParserConstants
 
finallyBlock(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
FinallyBlock(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
finallyNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
finallyNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
finallyNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
FinallyNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
finallyNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
find(String) - Static method in class pnuts.lang.Package
Deprecated. replaced by find(String, Context)
find(String, Context) - Static method in class pnuts.lang.Package
Find a named package.
findCallableMethod(Class, String, Class[]) - Static method in class pnuts.lang.Runtime
 
findClass(String) - Method in class pnuts.compiler.MultiClassLoader
 
findReadMethod(String) - Method in class pnuts.lang.Runtime.Accessor
 
findWriteMethod(String) - Method in class pnuts.lang.Runtime.Accessor
 
FirstSet() - Method in class pnuts.lang.PnutsParser
 
FirstSet2() - Method in class pnuts.lang.PnutsParser
 
fix() - Method in class pnuts.compiler.Label
Fixes the position to which the label points as the current position in the code buffer
FLOAD - Static variable in interface pnuts.compiler.Opcode
 
FLOAD_0 - Static variable in interface pnuts.compiler.Opcode
 
FLOAD_1 - Static variable in interface pnuts.compiler.Opcode
 
FLOAD_2 - Static variable in interface pnuts.compiler.Opcode
 
FLOAD_3 - Static variable in interface pnuts.compiler.Opcode
 
floadLocal(int) - Method in class pnuts.compiler.ClassFile
 
float_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
FLOAT_SYMBOL - Static variable in class pnuts.lang.Runtime
 
FLOATING_POINT_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
floatingNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
floatingNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
floatingNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
floatingNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
FMUL - Static variable in interface pnuts.compiler.Opcode
 
FNEG - Static variable in interface pnuts.compiler.Opcode
 
FOR - Static variable in interface pnuts.lang.PnutsParserConstants
 
FOREACH - Static variable in interface pnuts.lang.PnutsParserConstants
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ForeachStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
foreachStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ForEnum(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ForInit(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
format(Object) - Static method in class pnuts.lang.Pnuts
Returns the string representation of an object.
format(Object, int) - Static method in class pnuts.lang.Runtime
Get the String representation of the specified object.
format(Object, int, int) - Static method in class pnuts.lang.Runtime
 
formatObject(Object) - Method in class pnuts.ext.ConfigurationAdapter
String representation of an object
formatObject(Object) - Method in class pnuts.lang.Configuration
Defines how objects are printed in the interactive shell.
forStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
forStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
forStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ForStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
forStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ForUpdate(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
freeLocal(int) - Method in class pnuts.compiler.ClassFile
 
FREM - Static variable in interface pnuts.compiler.Opcode
 
FRETURN - Static variable in interface pnuts.compiler.Opcode
 
FSTORE - Static variable in interface pnuts.compiler.Opcode
 
FSTORE_0 - Static variable in interface pnuts.compiler.Opcode
 
FSTORE_1 - Static variable in interface pnuts.compiler.Opcode
 
FSTORE_2 - Static variable in interface pnuts.compiler.Opcode
 
FSTORE_3 - Static variable in interface pnuts.compiler.Opcode
 
FSUB - Static variable in interface pnuts.compiler.Opcode
 
funcName - Variable in class pnuts.lang.Function
name of the function including the scope information
Function - Class in pnuts.lang
This class represents a function with a certain number of parameters.
Function() - Constructor for class pnuts.lang.Function
 
Function(String, String[], int, SimpleNode, Package, Context) - Constructor for class pnuts.lang.Function
 
Function(String, String[], int, boolean, SimpleNode, Package, Context) - Constructor for class pnuts.lang.Function
 
function - Variable in class pnuts.lang.Function
reference to PnutsFunction
FUNCTION - Static variable in interface pnuts.lang.PnutsParserConstants
 
functionStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
functionStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
functionStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
FunctionStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
functionStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 

G

GE - Static variable in interface pnuts.lang.PnutsParserConstants
 
ge(Object, Object) - Static method in class pnuts.lang.Runtime
>= operation
ge(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
generateGetter(ClassFile, String, Class, String) - Static method in class pnuts.compiler.Compiler
 
generateMainClass(String, String, String[], String[], String) - Static method in class pnuts.tools.PnutsCompiler
public class mainClassName extends Runtime { public Object run(Context ctx){ ctx.usePackage(module1); ...
generateParseException() - Method in class pnuts.lang.PnutsParser
 
generateSetter(ClassFile, String, Class, String) - Static method in class pnuts.compiler.Compiler
 
Generator - Class in pnuts.lang
 
Generator() - Constructor for class pnuts.lang.Generator
 
Generator(PnutsFunction) - Constructor for class pnuts.lang.Generator
 
Generator.Break - Exception in pnuts.lang
 
Generator.Break(Object) - Constructor for exception pnuts.lang.Generator.Break
 
geNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
geNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
geNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
geNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
get(String, Context) - Method in class pnuts.compiler.ClassGenerator.SuperCallProxy
 
get(String) - Method in class pnuts.lang.Context
Gets an environemnt variable associated with this context.
get(int) - Method in interface pnuts.lang.Indexed
Read access to the index
get(String, Context) - Method in class pnuts.lang.Package
Get the value of a symbol in the package.
get(String) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by Context.getCurrentPackage().get(str.intern())
get(String, String) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by Package.getPackage(pkg, null).get(str)
get(int) - Method in class pnuts.lang.PnutsFunction
 
get(String, Context) - Method in interface pnuts.lang.Property
This method defines the behavior of the following expression.
get() - Method in interface pnuts.lang.Value
Gets the value.
GET_CONTEXT - Static variable in class pnuts.lang.PnutsFunction
 
getActions() - Method in class pnuts.security.PackagePermission
 
getArg() - Method in class pnuts.tools.CommandEvent
Get the optional argument
getArguments() - Method in class pnuts.lang.PnutsException.TraceInfo
The actual arguments of the function call
getArrayLength(Object) - Static method in class pnuts.lang.Runtime
Gets an array's length
getAttribute(String) - Method in class pnuts.lang.SimpleNode
Gets an attribute value
getBackTrace() - Method in exception pnuts.lang.PnutsException
Returns an enumeration of PnutsException.TraceInfo objects
getBaseImpl() - Method in class pnuts.ext.ImplementationAdapter
Returns the base Implementation which was passed to the constructor
getBaseImpl() - Method in class pnuts.ext.PnutsImplAdapter
Deprecated. Returns the base PnutsImpl which was passed to the constructor
getBasePackage() - Method in class pnuts.ext.CompositePackage
Gets the base package
getBeanProperty(Object, String) - Method in class pnuts.compiler.DynamicRuntime
Gets a Bean property of the specified bean.
getBeanProperty(Object, String, Class) - Method in class pnuts.compiler.DynamicRuntime
Gets a Bean property of the specified bean.
getBeanProperty(Context, Object, String) - Method in class pnuts.lang.JavaBeansConfiguration
Gets a Bean property of the specified bean.
getBeanProperty(Context, Object, String) - Static method in class pnuts.lang.Runtime
Gets a Bean property of the specified bean.
getBeanProperty(Object, String) - Method in class pnuts.lang.Runtime
Gets a Bean property of the specified bean.
getBeanProperty(Object, String, Class) - Method in class pnuts.lang.Runtime
Gets a Bean property of the specified bean.
getBeanPropertyType(Class, String) - Method in class pnuts.compiler.DynamicRuntime
Gets the type of a bean property
getBeanPropertyType(Class, String) - Method in class pnuts.lang.Runtime
Gets the type of a bean property
getBeginColumn(Context) - Static method in class pnuts.lang.Runtime
 
getBeginLine(Context) - Static method in class pnuts.lang.Runtime
 
getBeginLine() - Method in class pnuts.tools.DebugContext
 
getBottomType(Class) - Static method in class pnuts.lang.Runtime
Get true component type from an array type.
getBreakPoints(Object) - Method in class pnuts.tools.VisualDebuggerModel
 
getCachedCode(Object) - Method in class pnuts.ext.CachedPnutsImpl
 
getCallDepth() - Method in class pnuts.tools.DebugContext
Get the stack depth (in pure interpreter)
getClassDefNode(String, boolean, SimpleNode, SimpleNode) - Static method in class pnuts.compiler.Compiler
Convert 'new type(){...}' to 'class name extends type {...}'
getClassLoader() - Method in class pnuts.lang.Context
Gets the current class loader.
getClassLoader() - Method in class pnuts.tools.PnutsConsole
 
getClassName() - Method in class pnuts.compiler.ClassFile
 
getClassName(Package, String) - Method in class pnuts.ext.ModuleBase
Makes a class name for the specified package and the symbol's name.
getColumn() - Method in exception pnuts.lang.PnutsException
Returns the column number where the error occured.
getColumn() - Method in class pnuts.lang.PnutsException.TraceInfo
The column number of the place where the function call was taken place.
getCompiledScript(String, Context) - Static method in class pnuts.lang.Runtime
This method is called by Pnuts.load() when the property "pnuts.compiled.script.prefix" is defined, to load pre-compiled scripts.
getCompiler() - Method in class pnuts.ext.CachedScript
Returns a compiler.
getComponent() - Method in class pnuts.tools.PnutsConsoleUI
 
getConfiguration() - Method in class pnuts.lang.Context
 
getConsoleUI() - Method in class pnuts.tools.Console
Gets the UI object of this console
getConstructors(Class) - Method in class pnuts.ext.ConfigurationAdapter
Get all public constructors of the specified class.
getConstructors(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
 
getConstructors(Class) - Method in class pnuts.ext.NonPublicMemberAccessor
 
getConstructors(Class) - Method in class pnuts.ext.PublicMemberAccessor
 
getConstructors(Class) - Method in class pnuts.lang.Configuration
Get all public constructors of the specified class.
getConstructors(Class) - Method in class pnuts.lang.JavaBeansConfiguration
Get all public constructors of the specified class.
getConstructors(Context, Class) - Static method in class pnuts.lang.Runtime
 
getContext() - Method in class pnuts.tools.ContextEvent
 
getContext() - Method in class pnuts.tools.PnutsConsole
 
getCurrentPackage() - Method in class pnuts.lang.Context
get the current package
getCurrentSource() - Method in class pnuts.tools.VisualDebuggerModel
 
getDebugger() - Method in class pnuts.tools.DebugContext
Returns the debugger that controls this debug context
getDefault() - Static method in class pnuts.lang.Configuration
Returns the default Configuration object.
getDefault() - Static method in class pnuts.lang.PnutsImpl
Returns the default PnutsImpl object
getDefaultImports() - Method in class pnuts.lang.Configuration
Subclasses may redefines default imports
getDefaults() - Static method in class pnuts.lang.Pnuts
Gets the properties previously set by setDefaults() method.
getElement(Context, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
Gets an array element
getElement(Context, Object, Object) - Method in class pnuts.lang.Configuration
Gets an array element
getElement(Object, Object, Context) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "target[key]"
getElementAt(Object, int, Context) - Static method in class pnuts.lang.Runtime
 
getEndLine(Context) - Static method in class pnuts.lang.Runtime
 
getEndLine() - Method in class pnuts.tools.DebugContext
 
getErrorColumn() - Method in exception pnuts.lang.ParseException
 
getErrorLine() - Method in exception pnuts.lang.ParseException
 
getErrorStream() - Method in class pnuts.lang.Context
Deprecated. replaced by getErrorWriter
getErrorWriter() - Method in class pnuts.lang.Context
Get an PrintWriter to which error() write messages
getEvalDepth() - Method in class pnuts.tools.DebugContext
Get the depth of evaluation.
getExitHook() - Method in class pnuts.lang.Context
Gets the hook to be executed at the end of a script
GETFIELD - Static variable in interface pnuts.compiler.Opcode
 
getField(Context, Object, String) - Method in class pnuts.ext.ConfigurationAdapter
Gets a field of the specified class.
getField(Class, String) - Method in class pnuts.ext.NonPublicMemberAccessor
 
getField(Context, Object, String) - Method in class pnuts.ext.NonPublicMemberAccessor
Gets a field value of the target object.
getField(Context, Object, String) - Method in class pnuts.ext.PublicMemberAccessor
Gets a field value of the target object.
getField(Class, String) - Method in class pnuts.ext.PublicMemberAccessor
 
getField(Context, Object, String) - Method in class pnuts.lang.Configuration
Gets a field value of the target object.
getField(Context, Object, String) - Method in class pnuts.lang.JavaBeansConfiguration
Gets a Bean property of the specified bean.
getField(Context, Object, String) - Static method in class pnuts.lang.Runtime
Get the value of a instance field.
getField(Class, String) - Static method in class pnuts.lang.Runtime
 
GETFIELD2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
GETFIELD_QUICK - Static variable in interface pnuts.compiler.Opcode
 
GETFIELD_QUICK_W - Static variable in interface pnuts.compiler.Opcode
 
getFrame() - Method in class pnuts.lang.PnutsException.TraceInfo
Gets the callee that throws an exception.
getFrame() - Method in class pnuts.tools.PnutsConsoleUI
 
getFunction(PnutsFunction, int) - Static method in class pnuts.lang.Runtime
 
getFunction(Context) - Static method in class pnuts.lang.Runtime
 
getFunctions(PnutsFunction) - Static method in class pnuts.lang.Runtime
 
getGlobalPackage() - Static method in class pnuts.lang.Package
 
getGreeting() - Method in class pnuts.tools.PnutsConsole
 
getId(String) - Method in class pnuts.lang.Context
Gets the value of a symbol.
getImplementation() - Method in class pnuts.lang.Context
Gets the Implementation object associated with this context
getImportEnv() - Method in class pnuts.lang.Function
 
getImportEnv(int) - Method in class pnuts.lang.PnutsFunction
 
getInitialClassLoader() - Method in class pnuts.lang.Configuration
 
getInputLog() - Method in class pnuts.tools.PnutsConsole
 
getJFrame() - Method in class pnuts.tools.VisualDebuggerView
Returns a JFrame The default behavior of this method creates and returns a JFrame object.
getJTextComponent() - Method in class pnuts.tools.JTextComponentConsoleUI
 
getLabel() - Method in class pnuts.compiler.ClassFile
 
getLabel(boolean) - Method in class pnuts.compiler.ClassFile
 
getLength() - Method in class pnuts.tools.JTextComponentConsoleUI
 
getLine() - Method in exception pnuts.lang.PnutsException
Returns the line number where the error occured.
getLine() - Method in class pnuts.lang.PnutsException.TraceInfo
The line number of the place where the function call was taken place.
getLocal() - Method in class pnuts.compiler.ClassFile
 
getMarkPosition() - Method in class pnuts.tools.JTextComponentConsoleUI
 
getMessage() - Method in exception pnuts.lang.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in exception pnuts.lang.PnutsException
 
getMessage(String, String, Object[]) - Static method in class pnuts.lang.Runtime
 
getMessage() - Method in error pnuts.lang.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethods(Class) - Method in class pnuts.ext.ConfigurationAdapter
Get all public methods of the specified class.
getMethods(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
 
getMethods(Class) - Method in class pnuts.ext.NonPublicMemberAccessor
 
getMethods(Class) - Method in class pnuts.ext.PublicMemberAccessor
 
getMethods(Class) - Method in class pnuts.lang.Configuration
Get all public methods of the specified class.
getMethods(Class) - Method in class pnuts.lang.JavaBeansConfiguration
Collects the Bean methods for the specified class.
getMethods(Context, Class) - Static method in class pnuts.lang.Runtime
 
getModel() - Method in class pnuts.tools.JTextComponentConsoleUI
 
getModel() - Method in class pnuts.tools.VisualDebuggerView
 
getModules() - Method in class pnuts.tools.PnutsConsole
 
getName() - Method in class pnuts.lang.Context
Gets the name of the context
getName() - Method in class pnuts.lang.Function
Returns the name of the function
getName() - Method in interface pnuts.lang.NamedValue
Gets the name of the value.
getName() - Method in class pnuts.lang.Package
 
getName() - Method in class pnuts.lang.PnutsFunction
 
getNextToken() - Method in class pnuts.lang.PnutsParser
 
getNextToken() - Method in class pnuts.lang.PnutsParserTokenManager
 
getNode() - Method in class pnuts.lang.Function
 
getNumberOfParameter() - Method in class pnuts.lang.Function
Returns the number of parameters
getObjectField(Context, Object, String) - Method in class pnuts.ext.PublicMemberAccessor
 
getOutputStream() - Method in class pnuts.lang.Context
Get the standard output stream of the context, to which write() writes data.
getPackage(Context) - Method in class pnuts.ext.ModuleBase
 
getPackage() - Method in class pnuts.lang.Function
 
getPackage(String) - Static method in class pnuts.lang.Package
If package "pkg" exists returns the package, otherwise creates and returns it.
getPackage(String, Context) - Static method in class pnuts.lang.Package
If package "pkg" exists returns the package, otherwise creates and returns it.
getPackage() - Method in class pnuts.lang.PnutsFunction
Deprecated.  
getParent() - Method in class pnuts.ext.ConfigurationAdapter
Returns the parent configuration
getParent() - Method in class pnuts.lang.Package
Returns the parent package.
getPermissions(CodeSource) - Method in class pnuts.security.JAASPnutsImpl
 
getPermissions(CodeSource) - Method in class pnuts.security.SecurePnutsImpl
Returns permissions from policy file, plus Applet's sand-box permissions.
getPnutsImpl() - Method in class pnuts.lang.Context
Deprecated. replaced by getImplementation()
getPolicyPermissions(CodeSource) - Method in class pnuts.security.SecurePnutsImpl
Gets permission declared in the policy file
getPrefix() - Method in class pnuts.ext.ModuleBase
Defines the prefix of script class (resource) name.
getPrefix() - Method in class pnuts.tools.init
 
getPriority() - Method in class pnuts.tools.PnutsConsole
 
getProperty(String) - Static method in class pnuts.lang.Runtime
 
getRange(Context, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
Defines the semantices of an expression like:
getRange(Context, Object, Object, Object) - Method in class pnuts.lang.Configuration
Defines the semantices of an expression like:
getRange(Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
Range expression 'target[idx1..idx2]'.
getReader() - Method in class pnuts.tools.Console
Gets the Reader from this console
getReader() - Method in class pnuts.tools.PnutsConsole
 
getRequiredModules() - Method in class pnuts.ext.ModuleBase
This method is supposed to be redefined in a subclass to define a set of modules that are required to implement this module.
getResource(String, Context) - Static method in class pnuts.lang.Pnuts
Get the resource URL.
getResource(String) - Method in class pnuts.tools.VisualDebuggerView
 
getResourceString(String) - Method in class pnuts.tools.VisualDebuggerView
 
getRuntime(Context) - Static method in class pnuts.lang.Runtime
 
getScriptEncoding() - Method in class pnuts.lang.Context
Gets the current script encoding
getScriptReader(InputStream, Context) - Static method in class pnuts.lang.Runtime
Gets a Reader to read script files If context.getScriptEncoding() is non-null, it would be used as the encoding.
getScriptSource() - Method in class pnuts.lang.Context
Get the source of the script.
getScriptSource() - Method in class pnuts.lang.Function
 
getScriptSource() - Method in exception pnuts.lang.ParseException
 
getScriptSource() - Method in class pnuts.lang.Pnuts
Gets the script source associated with this parsed (compiled) expression
getScriptSource() - Method in exception pnuts.lang.PnutsException
Returns the script source (usually a URL) where the error occured.
getScriptSource() - Method in class pnuts.lang.PnutsException.TraceInfo
Gets the source of the script where the function call was taken place.
getScriptSource(Context) - Static method in class pnuts.lang.Runtime
 
getScriptSource() - Method in class pnuts.tools.DebugContext
 
getScriptURL(String, Context) - Static method in class pnuts.lang.Runtime
Returns a URL of a script
GETSTATIC - Static variable in interface pnuts.compiler.Opcode
 
GETSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
GETSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
getStaticField(Context, Class, String) - Method in class pnuts.ext.ConfigurationAdapter
Get the value of a static field.
getStaticField(Context, Class, String) - Method in class pnuts.ext.PublicMemberAccessor
 
getStaticField(Context, Class, String) - Method in class pnuts.lang.Configuration
Get the value of a static field.
getStaticField(Context, Class, String) - Static method in class pnuts.lang.Runtime
Get the value of a static field.
getStopClass() - Method in class pnuts.lang.JavaBeansConfiguration
 
getSubModules() - Method in class pnuts.ext.ModuleBase
This method is supposed to be redefined in a subclass to define a set of modules that this module provides in the caller's context.
getSubModules() - Method in class pnuts.tools.init
 
getTargetObject() - Method in class pnuts.lang.PnutsException.TraceInfo
Gets the target object of the method call that causes an exception
getTerminalStream() - Method in class pnuts.lang.Context
Deprecated. replaced by getTerminalWriter(Writer)
getTerminalWriter() - Method in class pnuts.lang.Context
get terminal-output-stream of the context
getTerminationCallback() - Method in class pnuts.tools.PnutsConsole
 
getterSignature(Class, String) - Static method in class pnuts.compiler.Compiler
 
getTextArea() - Method in class pnuts.tools.PnutsConsoleUI
 
getThreadContext() - Static method in class pnuts.lang.Runtime
Sets the context bound to the current thread
getThrowable() - Method in exception pnuts.lang.PnutsException
Returns the root cause
getTitle() - Method in class pnuts.tools.PnutsConsoleUI
 
getTitleString(Object) - Method in class pnuts.tools.VisualDebuggerView
Returns the title string Subclasses may override this method to customize the window title.
getToken(int) - Method in class pnuts.lang.PnutsParser
 
getType(String) - Method in class pnuts.lang.Runtime.Accessor
 
getType() - Method in class pnuts.tools.CommandEvent
Get the event type
getValue(String) - Method in class pnuts.lang.Context
 
getValue() - Method in exception pnuts.lang.Escape
 
getValue() - Method in exception pnuts.lang.Runtime.Break
 
getWriter() - Method in class pnuts.lang.Context
Get the standard writer of the context, to which print()/println() write messages.
getWriter() - Method in class pnuts.tools.Console
Gets the OutputStream from this console
global(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
global(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
global(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
global(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
globalPackage - Static variable in class pnuts.lang.Package
The package with name "".
GOTO - Static variable in interface pnuts.compiler.Opcode
 
GOTO_W - Static variable in interface pnuts.compiler.Opcode
 
GREETING - Static variable in class pnuts.tools.PnutsConsole
 
GT - Static variable in interface pnuts.lang.PnutsParserConstants
 
gt(Object, Object) - Static method in class pnuts.lang.Runtime
> operation
gt(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
gtNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
gtNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
gtNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
gtNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 

H

handle(ClassFile) - Method in interface pnuts.compiler.ClassFileHandler
This method is called with each compiled class file when Compiler.compile(Pnuts, ClassFileHandler) method is called.
handle(ClassFile) - Method in class pnuts.compiler.FileWriterHandler
 
handle(ClassFile) - Method in class pnuts.compiler.ZipWriterHandler
 
handleException(Exception) - Method in class pnuts.compiler.FileWriterHandler
 
handleException(Exception) - Method in class pnuts.compiler.ZipWriterHandler
 
handleFreeVariable(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
This method is called for each free variable, and supposed to be redefined by subclasses.
handleLocalVariable(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
This method is called for each local variable, and supposed to be redefined by subclasses.
handleParseException(ParseException) - Method in interface pnuts.lang.ParseEnvironment
Thie method defines how to deal with parse errors
handleUndefinedSymbol(String, Context) - Method in class pnuts.ext.ConfigurationAdapter
Handle an "not.defined" error This method can be redefined by a subclass so that a special value (e.g.
handleUndefinedSymbol(String, Context) - Method in class pnuts.lang.Configuration
Handle an "not.defined" error This method can be redefined by a subclass so that a special value (e.g.
HEX_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
HEX_LITERAL2 - Static variable in interface pnuts.lang.PnutsParserConstants
 
HOOK - Static variable in interface pnuts.lang.PnutsParserConstants
 

I

I2B - Static variable in interface pnuts.compiler.Opcode
 
I2C - Static variable in interface pnuts.compiler.Opcode
 
I2D - Static variable in interface pnuts.compiler.Opcode
 
I2F - Static variable in interface pnuts.compiler.Opcode
 
I2L - Static variable in interface pnuts.compiler.Opcode
 
I2S - Static variable in interface pnuts.compiler.Opcode
 
IADD - Static variable in interface pnuts.compiler.Opcode
 
IALOAD - Static variable in interface pnuts.compiler.Opcode
 
IAND - Static variable in interface pnuts.compiler.Opcode
 
IASTORE - Static variable in interface pnuts.compiler.Opcode
 
ICONST_0 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_1 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_2 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_3 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_4 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_5 - Static variable in interface pnuts.compiler.Opcode
 
ICONST_M1 - Static variable in interface pnuts.compiler.Opcode
 
id - Variable in class pnuts.lang.SimpleNode
 
IDENTIFIER - Static variable in interface pnuts.lang.PnutsParserConstants
 
IDIV - Static variable in interface pnuts.compiler.Opcode
 
idNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
idNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
idNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
IdNode() - Method in class pnuts.lang.PnutsParser
 
idNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
IF - Static variable in interface pnuts.lang.PnutsParserConstants
 
IF_ACMPEQ - Static variable in interface pnuts.compiler.Opcode
 
IF_ACMPNE - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPEQ - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPGE - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPGT - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPLE - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPLT - Static variable in interface pnuts.compiler.Opcode
 
IF_ICMPNE - Static variable in interface pnuts.compiler.Opcode
 
IFEQ - Static variable in interface pnuts.compiler.Opcode
 
IFGE - Static variable in interface pnuts.compiler.Opcode
 
IFGT - Static variable in interface pnuts.compiler.Opcode
 
IFLE - Static variable in interface pnuts.compiler.Opcode
 
IFLT - Static variable in interface pnuts.compiler.Opcode
 
IFNE - Static variable in interface pnuts.compiler.Opcode
 
IFNONNULL - Static variable in interface pnuts.compiler.Opcode
 
IFNULL - Static variable in interface pnuts.compiler.Opcode
 
ifStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
ifStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
ifStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
IfStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
ifStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
IINC - Static variable in interface pnuts.compiler.Opcode
 
ILOAD - Static variable in interface pnuts.compiler.Opcode
 
ILOAD_0 - Static variable in interface pnuts.compiler.Opcode
 
ILOAD_1 - Static variable in interface pnuts.compiler.Opcode
 
ILOAD_2 - Static variable in interface pnuts.compiler.Opcode
 
ILOAD_3 - Static variable in interface pnuts.compiler.Opcode
 
iloadLocal(int) - Method in class pnuts.compiler.ClassFile
 
image - Variable in class pnuts.lang.Token
The string image of the token.
imageSuffix - Static variable in class pnuts.tools.VisualDebuggerView
 
IMPDEP1 - Static variable in interface pnuts.compiler.Opcode
 
IMPDEP2 - Static variable in interface pnuts.compiler.Opcode
 
Implementation - Interface in pnuts.lang
Defines an abstract interface of script interpreter's implementation,
ImplementationAdapter - Class in pnuts.ext
This class is used to customize an existing Implementation.
ImplementationAdapter(Implementation) - Constructor for class pnuts.ext.ImplementationAdapter
 
IMPLEMENTS - Static variable in interface pnuts.lang.PnutsParserConstants
 
implies(Permission) - Method in class pnuts.security.PackagePermission
 
IMPORT - Static variable in class pnuts.lang.PnutsFunction
 
Import(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
IMPORT - Static variable in interface pnuts.lang.PnutsParserConstants
 
importEnv - Variable in class pnuts.lang.Context
 
importEnv - Variable in class pnuts.lang.Function
"import" environment
importNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
importNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
importNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
importNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
IMUL - Static variable in interface pnuts.compiler.Opcode
 
includeColumnNo(boolean) - Method in class pnuts.compiler.Compiler
 
includeColumnNo(boolean) - Method in class pnuts.compiler.CompilerPnutsImpl
 
includeLineNo(boolean) - Method in class pnuts.compiler.Compiler
 
includeLineNo(boolean) - Method in class pnuts.compiler.CompilerPnutsImpl
 
includeLineNo(boolean) - Method in class pnuts.ext.CachedPnutsImpl
 
includeLineNumber(boolean) - Method in class pnuts.tools.PnutsCompiler
 
includeMainMethod(boolean) - Method in class pnuts.compiler.Compiler
 
includeMainMethod(boolean) - Method in class pnuts.tools.PnutsCompiler
 
InclusiveOrExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
Indexed - Interface in pnuts.lang
Index-access to an instance of this interface is interpreted as the set/get method call, which are defined in the implementation class.
indexNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
indexNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
indexNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
indexNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
INEG - Static variable in interface pnuts.compiler.Opcode
 
info - Variable in class pnuts.lang.SimpleNode
 
init(Context) - Method in class pnuts.lang.Package
This method is called when the package become the current package with package() function.
init - Class in pnuts.tools
 
init() - Constructor for class pnuts.tools.init
 
init() - Method in class pnuts.tools.PnutsConsoleApplet
 
initialized - Variable in class pnuts.lang.Package
 
initializeModule() - Method in class pnuts.lang.Package
Starts using this package as a module.
initializeOperators() - Method in class pnuts.lang.Configuration
 
input_stream - Variable in class pnuts.lang.PnutsParserTokenManager
 
INPUTLOG - Static variable in class pnuts.tools.PnutsConsole
 
insert(String, int) - Method in class pnuts.tools.JTextComponentConsoleUI
 
inspectAction - Static variable in class pnuts.tools.VisualDebuggerView
 
INSTANCEOF - Static variable in interface pnuts.compiler.Opcode
 
INSTANCEOF - Static variable in interface pnuts.lang.PnutsParserConstants
 
INSTANCEOF_QUICK - Static variable in interface pnuts.compiler.Opcode
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
InstanceofExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
instanceofExpression(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
int_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
INT_SYMBOL - Static variable in class pnuts.lang.Runtime
 
INTEGER_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
integerNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
integerNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
integerNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
integerNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
inverse() - Method in interface pnuts.lang.Numeric
Inverts itself
invoke(String, Object[], Context) - Method in class pnuts.compiler.ClassGenerator.SuperCallProxy
 
invoke(Object) - Method in class pnuts.compiler.DynamicProxy
 
invoke(Object, Object[]) - Method in class pnuts.compiler.DynamicProxy
 
invoke(String, Object[], Context) - Method in interface pnuts.lang.AbstractData
Defines the behavior of a method call.
INVOKEINTERFACE - Static variable in interface pnuts.compiler.Opcode
 
INVOKEINTERFACE_QUICK - Static variable in interface pnuts.compiler.Opcode
 
invokeMethod(Context, Class, String, Object[], Class[], Object) - Static method in class pnuts.lang.Configuration
 
INVOKENONVIRTUAL_QUICK - Static variable in interface pnuts.compiler.Opcode
 
INVOKESPECIAL - Static variable in interface pnuts.compiler.Opcode
 
INVOKESTATIC - Static variable in interface pnuts.compiler.Opcode
 
INVOKESTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
INVOKESUPER_QUICK - Static variable in interface pnuts.compiler.Opcode
 
INVOKEVIRTUAL - Static variable in interface pnuts.compiler.Opcode
 
INVOKEVIRTUAL_QUICK - Static variable in interface pnuts.compiler.Opcode
 
INVOKEVIRTUAL_QUICK_W - Static variable in interface pnuts.compiler.Opcode
 
INVOKEVIRTUALOBJECT_QUICK - Static variable in interface pnuts.compiler.Opcode
 
IOR - Static variable in interface pnuts.compiler.Opcode
 
IREM - Static variable in interface pnuts.compiler.Opcode
 
IRETURN - Static variable in interface pnuts.compiler.Opcode
 
isArray(Object) - Static method in class pnuts.lang.Runtime
Check if the parameter is an array
isBuiltin() - Method in class pnuts.lang.PnutsFunction
 
isCompiled(Object) - Static method in class pnuts.compiler.Compiler
Check if an object is compiled
isGenerator(SimpleNode) - Static method in class pnuts.lang.Runtime
 
ISHL - Static variable in interface pnuts.compiler.Opcode
 
ISHR - Static variable in interface pnuts.compiler.Opcode
 
isJava2() - Static method in class pnuts.lang.Pnuts
Checks if the runtime environment supports J2SE.
isTargetIdNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
If this metohd returns false, the node is not passed to handleFreeVariable() method even if the node represents a free variable.
ISTORE - Static variable in interface pnuts.compiler.Opcode
 
ISTORE_0 - Static variable in interface pnuts.compiler.Opcode
 
ISTORE_1 - Static variable in interface pnuts.compiler.Opcode
 
ISTORE_2 - Static variable in interface pnuts.compiler.Opcode
 
ISTORE_3 - Static variable in interface pnuts.compiler.Opcode
 
istoreLocal(int) - Method in class pnuts.compiler.ClassFile
 
ISUB - Static variable in interface pnuts.compiler.Opcode
 
isVerbose() - Method in class pnuts.lang.Context
Check the current verbose mode
isVerbose() - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by Context.isVerbose()
IUSHR - Static variable in interface pnuts.compiler.Opcode
 
IXOR - Static variable in interface pnuts.compiler.Opcode
 

J

JAASPnutsImpl - Class in pnuts.security
A SecurePnutsImpl subclass that executes scripts with permissions constructed from codesource-based policy and subject-based policy.
JAASPnutsImpl(PnutsImpl) - Constructor for class pnuts.security.JAASPnutsImpl
Deprecated. replaced by JAASPnutsImpl(Implementation)
JAASPnutsImpl(Implementation) - Constructor for class pnuts.security.JAASPnutsImpl
A Constructor
JAASPnutsImpl(PnutsImpl, CodeSource) - Constructor for class pnuts.security.JAASPnutsImpl
Deprecated. replaced byte JAASPnutsImpl(Implementation, CodeSource)
JAASPnutsImpl(Implementation, CodeSource) - Constructor for class pnuts.security.JAASPnutsImpl
A Constructor
JAASPnutsImpl(PnutsImpl, CodeSource, Subject) - Constructor for class pnuts.security.JAASPnutsImpl
Deprecated. replaced by JAASPnutsImpl(Implementation, CodeSource, Subject)
JAASPnutsImpl(Implementation, CodeSource, Subject) - Constructor for class pnuts.security.JAASPnutsImpl
A Constructor
JavaBeansConfiguration - Class in pnuts.lang
This is a configuration for JavaBeans.
JavaBeansConfiguration() - Constructor for class pnuts.lang.JavaBeansConfiguration
Constructor
JavaBeansConfiguration(Class) - Constructor for class pnuts.lang.JavaBeansConfiguration
Constructor
jj_nt - Variable in class pnuts.lang.PnutsParser
 
jjFillToken() - Method in class pnuts.lang.PnutsParserTokenManager
 
jjstrLiteralImages - Static variable in class pnuts.lang.PnutsParserTokenManager
 
jjtAddChild(SimpleNode, int) - Method in class pnuts.lang.SimpleNode
 
JJTADDNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTANDNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTAPPLICATIONNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTARRAYNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTARRAYTYPE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTAA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTDA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTEA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTLA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTMA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTOA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTPA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTRA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTRAA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTSA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTASSIGNMENTTA - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTBLOCK - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTBREAK - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCASTEXPRESSION - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCATCHBLOCK - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCATCHNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCHARACTERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASSDEF - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASSDEFBODY - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASSEXPR - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASSNAME - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASSSCRIPT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCONTINUE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTDIVIDENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTDOSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTELSEIFNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTELSENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTEQUALNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTEXPRESSIONLIST - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTEXTENDS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFALSENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFIELDDEF - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFINALLYBLOCK - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFINALLYNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFLOATINGNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFOREACHSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFORENUM - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFORINIT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFORSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFORUPDATE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFUNCTIONSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTGENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
jjtGetChild(int) - Method in class pnuts.lang.SimpleNode
 
jjtGetNumChildren() - Method in class pnuts.lang.SimpleNode
 
jjtGetParent() - Method in class pnuts.lang.SimpleNode
 
JJTGLOBAL - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTGTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTIDNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTIFSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTIMPLEMENTS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTIMPORT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTINDEXNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTINSTANCEOFEXPRESSION - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTINTEGERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLISTELEMENTS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLOCAL - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLOGANDNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLOGNOTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLOGORNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTLTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMAPELEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMAPELEMENTS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMEMBERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMETHODDEF - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMETHODNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMODNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMULTIASSIGNLHS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMULTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNEGATIVENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNEW - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
jjtNodeName - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNOTEQNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNOTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNULLNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTORNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPACKAGE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPACKAGESTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPARAM - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPARAMLIST - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPOSTDECRNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPOSTINCRNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPREDECRNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTPREINCRNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTRANGENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
jjtree - Variable in class pnuts.lang.PnutsParser
 
JJTRETURN - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
jjtSetParent(SimpleNode) - Method in class pnuts.lang.SimpleNode
public void jjtOpen() { } public void jjtClose() { }
JJTSHIFTARITHMETICNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSHIFTLEFTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSHIFTRIGHTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSTART - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSTARTSET - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSTATICMEMBERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSTATICMETHODNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSTRINGNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSUBTRACTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSWITCHBLOCK - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSWITCHLABEL - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTSWITCHSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTERNARYNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTHROWNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTRUENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTRYSTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTYPEDPARAM - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTTYPEDPARAMLIST - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTVOID - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTWHILESTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTXORNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTYIELD - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JSR - Static variable in interface pnuts.compiler.Opcode
 
JSR_W - Static variable in interface pnuts.compiler.Opcode
 
JTextComponentConsoleUI - Class in pnuts.tools
 
JTextComponentConsoleUI() - Constructor for class pnuts.tools.JTextComponentConsoleUI
 
Jump - Exception in pnuts.lang
This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
Jump() - Constructor for exception pnuts.lang.Jump
 
Jump(Object) - Constructor for exception pnuts.lang.Jump
 
jump(Object) - Static method in class pnuts.lang.Runtime
 

K

keys() - Method in class pnuts.lang.Context
Returns an enumeration of the keys in the environment of this context.
kind - Variable in class pnuts.lang.Token
An integer that describes the kind of this token.

L

L2D - Static variable in interface pnuts.compiler.Opcode
 
L2F - Static variable in interface pnuts.compiler.Opcode
 
L2I - Static variable in interface pnuts.compiler.Opcode
 
LA - Static variable in interface pnuts.lang.PnutsParserConstants
 
Label - Class in pnuts.compiler
 
labelSuffix - Static variable in class pnuts.tools.VisualDebuggerView
 
LADD - Static variable in interface pnuts.compiler.Opcode
 
LALOAD - Static variable in interface pnuts.compiler.Opcode
 
LAND - Static variable in interface pnuts.compiler.Opcode
 
lastModified - Variable in class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
 
LASTORE - Static variable in interface pnuts.compiler.Opcode
 
LBRACE - Static variable in interface pnuts.lang.PnutsParserConstants
 
LBRACKET - Static variable in interface pnuts.lang.PnutsParserConstants
 
LCMP - Static variable in interface pnuts.compiler.Opcode
 
LCONST_0 - Static variable in interface pnuts.compiler.Opcode
 
LCONST_1 - Static variable in interface pnuts.compiler.Opcode
 
LDC - Static variable in interface pnuts.compiler.Opcode
 
LDC2_W - Static variable in interface pnuts.compiler.Opcode
 
LDC2_W_QUICK - Static variable in interface pnuts.compiler.Opcode
 
LDC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
LDC_W - Static variable in interface pnuts.compiler.Opcode
 
LDC_W_QUICK - Static variable in interface pnuts.compiler.Opcode
 
LDIV - Static variable in interface pnuts.compiler.Opcode
 
LE - Static variable in interface pnuts.lang.PnutsParserConstants
 
le(Object, Object) - Static method in class pnuts.lang.Runtime
<= operation
le(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
LEFT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
 
leNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
leNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
leNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
leNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
LETTER - Static variable in interface pnuts.lang.PnutsParserConstants
 
LexicalError(boolean, int, int, int, String, char) - Static method in error pnuts.lang.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class pnuts.lang.PnutsParserTokenManager
 
LHS(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
LimitedClassesConfiguration - Class in pnuts.ext
 
LimitedClassesConfiguration() - Constructor for class pnuts.ext.LimitedClassesConfiguration
 
LimitedClassesConfiguration(Configuration) - Constructor for class pnuts.ext.LimitedClassesConfiguration
 
line - Variable in exception pnuts.lang.PnutsException
 
LINE_UPDATED - Static variable in class pnuts.tools.CommandEvent
The event type which indicates line number has been changed.
List(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
listElements(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
listElements(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
listElements(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ListElements(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
listElements(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
Literal() - Method in class pnuts.lang.PnutsParser
 
LLOAD - Static variable in interface pnuts.compiler.Opcode
 
LLOAD_0 - Static variable in interface pnuts.compiler.Opcode
 
LLOAD_1 - Static variable in interface pnuts.compiler.Opcode
 
LLOAD_2 - Static variable in interface pnuts.compiler.Opcode
 
LLOAD_3 - Static variable in interface pnuts.compiler.Opcode
 
lloadLocal(int) - Method in class pnuts.compiler.ClassFile
 
LMUL - Static variable in interface pnuts.compiler.Opcode
 
LNEG - Static variable in interface pnuts.compiler.Opcode
 
load(URL, Context) - Method in class pnuts.ext.CachedPnutsImpl
Load a script file from a URL
load(String, Context) - Method in class pnuts.ext.ImplementationAdapter
Load a script file using classloader
load(URL, Context) - Method in class pnuts.ext.ImplementationAdapter
Load a script file from a URL
load(String, Context) - Method in class pnuts.ext.PnutsImplAdapter
Deprecated. Load a script file using classloader
load(URL, Context) - Method in class pnuts.ext.PnutsImplAdapter
Deprecated. Load a script file from a URL
load(String, Context) - Method in interface pnuts.lang.AutoloadHook
When a registered name is first accessed and the name has not been defined, this method of a corresponding AutoloadHook object is called.
load(String, Context) - Method in interface pnuts.lang.Implementation
Load a script file using classloader
load(URL, Context) - Method in interface pnuts.lang.Implementation
Load a script file from a URL
load(String, Context) - Static method in class pnuts.lang.Pnuts
Loads a script "file" in "context"
load(URL, Context) - Static method in class pnuts.lang.Pnuts
Loads a script specifed as a URL.
load(InputStream, Context) - Static method in class pnuts.lang.Pnuts
Loads a script from InputStream "in" in "context"
load(InputStream, boolean, Context) - Static method in class pnuts.lang.Pnuts
Load a script from an InputStream in the specified Context.
load(Reader, Context) - Static method in class pnuts.lang.Pnuts
This method loads a script
load(Reader, boolean, Context) - Static method in class pnuts.lang.Pnuts
This method loads a script
LOAD - Static variable in class pnuts.lang.PnutsFunction
 
load(String, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file using classloader
load(URL, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file from a URL
load(String, Context) - Method in class pnuts.security.SecurePnutsImpl
Load a script file using classloader
load(URL, Context) - Method in class pnuts.security.SecurePnutsImpl
Load a script file from a URL
LOAD_FILE - Static variable in class pnuts.lang.PnutsFunction
 
loadClass(String, Context) - Static method in class pnuts.lang.Pnuts
Loads the class by the following order.
loadFile(String, Context) - Method in class pnuts.ext.ImplementationAdapter
Load a script file from local file system
loadFile(String, Context) - Method in class pnuts.ext.PnutsImplAdapter
Deprecated. Load a script file from local file system
loadFile(String, Context) - Method in interface pnuts.lang.Implementation
Load a script file from local file system
loadFile(String, Context) - Static method in class pnuts.lang.Pnuts
Loads a local script "file" in "context"
loadFile(String, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file from local file system
loadFile(String, Context) - Method in class pnuts.security.SecurePnutsImpl
Load a script file from local file system
loadingResource - Variable in class pnuts.lang.Context
 
loadLocal(int) - Method in class pnuts.compiler.ClassFile
 
loadModule(String, Package) - Method in class pnuts.lang.Context
Loads a module is it has not been loaded yet.
loadNode(String) - Static method in class pnuts.lang.Runtime
 
Local(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
locals - Variable in class pnuts.lang.Function
local parameters
localSymbols(Context) - Static method in class pnuts.tools.StackFrameInspector
 
localSymbols(Context, Map) - Static method in class pnuts.tools.StackFrameInspector
 
logAndNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logAndNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
logAndNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logAndNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logNotNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logNotNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
logNotNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logNotNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logOrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logOrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
logOrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logOrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
long_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
LONG_SYMBOL - Static variable in class pnuts.lang.Runtime
 
lookingAhead - Variable in class pnuts.lang.PnutsParser
 
lookup(String, Context) - Method in class pnuts.ext.CompositePackage
First looks for the symbol in the local symbol table.
lookup(String) - Method in class pnuts.ext.CompositePackage
Looks for a name-value binding in the symbol table chain.
lookup(String, Context) - Method in class pnuts.lang.Package
Looks up a symbol in this package.
lookupRecursively(String, Context) - Method in class pnuts.lang.Package
Lookup the symbol in the package.
LOOKUPSWITCH - Static variable in interface pnuts.compiler.Opcode
 
LOR - Static variable in interface pnuts.compiler.Opcode
 
LPAREN - Static variable in interface pnuts.lang.PnutsParserConstants
 
LREM - Static variable in interface pnuts.compiler.Opcode
 
LRETURN - Static variable in interface pnuts.compiler.Opcode
 
LSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
 
LSHL - Static variable in interface pnuts.compiler.Opcode
 
LSHR - Static variable in interface pnuts.compiler.Opcode
 
LSTORE - Static variable in interface pnuts.compiler.Opcode
 
LSTORE_0 - Static variable in interface pnuts.compiler.Opcode
 
LSTORE_1 - Static variable in interface pnuts.compiler.Opcode
 
LSTORE_2 - Static variable in interface pnuts.compiler.Opcode
 
LSTORE_3 - Static variable in interface pnuts.compiler.Opcode
 
LSUB - Static variable in interface pnuts.compiler.Opcode
 
LT - Static variable in interface pnuts.lang.PnutsParserConstants
 
lt(Object, Object) - Static method in class pnuts.lang.Runtime
< operation
lt(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
ltNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
ltNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
ltNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ltNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
LUSHR - Static variable in interface pnuts.compiler.Opcode
 
LXOR - Static variable in interface pnuts.compiler.Opcode
 

M

MA - Static variable in interface pnuts.lang.PnutsParserConstants
 
main(String[]) - Static method in class pnuts.compiler.ScopeAnalyzer
 
Main - Class in pnuts.tools
The main class of "pnuts" command
Main() - Constructor for class pnuts.tools.Main
 
main(String[]) - Static method in class pnuts.tools.Main
starts the command shell interpreter
main(String[]) - Static method in class pnuts.tools.PnutsCompiler
 
make(Number, String) - Method in interface pnuts.lang.QuantityFactory
Defines how to create an object that represents a kind of quantity.
makeArray(Object[], Context) - Method in class pnuts.ext.ConfigurationAdapter
Return the value of an array expression.
makeArray(Object[], Context) - Method in class pnuts.lang.Configuration
Return the value of an array expression.
makeArray(Object[], Context) - Static method in class pnuts.lang.Runtime
 
makeProxy(Constructor) - Static method in class pnuts.compiler.DynamicRuntime
This method maps a proxy object of a Constructor to a PnutsFunction.
makeProxy(Method) - Static method in class pnuts.compiler.DynamicRuntime
This method maps a proxy object of a Method to a PnutsFunction.
MapElement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
MapElements(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
MAPENTRY - Static variable in interface pnuts.lang.PnutsParserConstants
 
mapNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
mapNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
mapNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
mapNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
matchType(Class, Object) - Static method in class pnuts.lang.Runtime
 
memberNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
memberNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
memberNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
MemberNode() - Method in class pnuts.lang.PnutsParser
 
memberNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
methodDef(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
methodDef(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
methodDef(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
MethodDef(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
methodDef(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
methodNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
methodNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
methodNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
MethodNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
methodNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
MINUS - Static variable in interface pnuts.lang.PnutsParserConstants
 
mod(Object, Object) - Static method in class pnuts.lang.Runtime
% operation
mod(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
model - Variable in class pnuts.tools.VisualDebuggerView
 
modNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
modNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
modNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
modNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ModuleBase - Class in pnuts.ext
Base class of modules.
ModuleBase() - Constructor for class pnuts.ext.ModuleBase
 
moduleList - Variable in class pnuts.lang.Context
 
moduleList - Variable in class pnuts.lang.Function
Used modules
MONITORENTER - Static variable in interface pnuts.compiler.Opcode
 
MONITOREXIT - Static variable in interface pnuts.compiler.Opcode
 
MULTI_LINE_COMMENT - Static variable in interface pnuts.lang.PnutsParserConstants
 
MULTIANEWARRAY - Static variable in interface pnuts.compiler.Opcode
 
MULTIANEWARRAY_QUICK - Static variable in interface pnuts.compiler.Opcode
 
MultiAssignLHS(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
MultiClassLoader - Class in pnuts.compiler
 
MultiClassLoader(ClassLoader, ClassLoader) - Constructor for class pnuts.compiler.MultiClassLoader
 
MultiClassLoader(ClassLoader, ClassLoader[]) - Constructor for class pnuts.compiler.MultiClassLoader
 
MultiplicativeExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
multiply(Object) - Method in interface pnuts.lang.Numeric
Multiplies itself with the value of parameter
multiply(Object, Object) - Static method in class pnuts.lang.Runtime
* operation
multiply(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
multNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
multNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
multNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
multNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 

N

name - Variable in class pnuts.lang.Function
name of the function without the scope information
name - Variable in class pnuts.lang.Package
The name of the package.
name - Variable in class pnuts.lang.PnutsFunction
the name
NamedValue - Interface in pnuts.lang
Objects of this class are returned by Package.lookup() method.
nargs - Variable in class pnuts.lang.Function
the number of arguments
NE - Static variable in interface pnuts.lang.PnutsParserConstants
 
ne(Object, Object) - Static method in class pnuts.lang.Runtime
!= operation
ne(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
needToUpdate() - Method in class pnuts.ext.CachedScript
Determin if the script should be recompiled
negate() - Method in interface pnuts.lang.Numeric
Negates itself by the value of parameter
negate(Object) - Static method in class pnuts.lang.Runtime
Negates an number
negate(Object, Context) - Static method in class pnuts.lang.Runtime
 
negativeNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
negativeNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
negativeNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
negativeNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
NEW - Static variable in interface pnuts.compiler.Opcode
 
New(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
NEW - Static variable in interface pnuts.lang.PnutsParserConstants
 
NEW_QUICK - Static variable in interface pnuts.compiler.Opcode
 
NEWARRAY - Static variable in interface pnuts.compiler.Opcode
 
newInstance(String) - Method in class pnuts.ext.CompositePackage
Creates a sub-package
newInstance(Class) - Method in class pnuts.ext.ModuleBase
This method is redefined in subclasses so that package private classes can be used.
newInstance(String) - Method in class pnuts.lang.Package
Creates an uninitialized instance of a Package subclass When a sub-package is created, this method is called.
newInstance(Context, Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
 
newNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
newNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
newNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
newNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
newPermissionCollection() - Method in class pnuts.security.PackagePermission
 
newToken(int) - Static method in class pnuts.lang.Token
Returns a new Token object, by default.
next - Variable in class pnuts.lang.Token
A reference to the next regular (non-special) token from the input stream.
nextAction - Static variable in class pnuts.tools.VisualDebuggerView
 
NO_MATCH - Static variable in interface pnuts.lang.PnutsParserConstants
 
node - Variable in class pnuts.lang.Function
reference to the definition
NonPublicMemberAccessor - Class in pnuts.ext
when -a option is given to the pnuts command, this class is used so that non-public members can be accessed.
NonPublicMemberAccessor() - Constructor for class pnuts.ext.NonPublicMemberAccessor
 
NonPublicMemberAccessor(Configuration) - Constructor for class pnuts.ext.NonPublicMemberAccessor
 
NOP - Static variable in interface pnuts.compiler.Opcode
 
normalConfiguration - Static variable in class pnuts.lang.Configuration
The normal configuration, which is the fall-back of the default configuration.
not(Object) - Static method in class pnuts.lang.Runtime
 
not(Object, Context) - Static method in class pnuts.lang.Runtime
 
NOT_EQUAL - Static variable in interface pnuts.lang.Numeric
 
notEqNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
notEqNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
notEqNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
notEqNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
notNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
notNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
notNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
notNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
NULL - Static variable in interface pnuts.lang.PnutsParserConstants
 
NullLiteral() - Method in class pnuts.lang.PnutsParser
 
nullNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
nullNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
nullNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
nullNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
Numeric - Interface in pnuts.lang
In Pnuts, arithmetic operations for objects implements this interface causes a call of the corresponding methods in this interface.

O

OA - Static variable in interface pnuts.lang.PnutsParserConstants
 
onError(Throwable) - Method in class pnuts.lang.Context
This method is called when an exception is thrown.
onError(Throwable) - Method in class pnuts.tools.DebugContext
This method is called when some exception is thrown.
onExit(Object) - Method in class pnuts.lang.Context
This method is called when the excecution is terminated normally.
onExit(Object) - Method in class pnuts.tools.DebugContext
This method is called when an evaluation is terminated normally.
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator.Add
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator
Operation on BigDecimal's
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator.GE
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator.GT
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator.LE
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator.LT
 
op_bdec(BigDecimal, BigDecimal) - Method in class pnuts.lang.BooleanOperator
 
op_bdec(BigDecimal) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_bdec(BigDecimal) - Method in class pnuts.lang.UnaryOperator
operation on a BigDecimal
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Add
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.And
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator
Operation on BigInteger's
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Or
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.ShiftLeft
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.ShiftRight
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BinaryOperator.Xor
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator.GE
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator.GT
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator.LE
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator.LT
 
op_bint(BigInteger, BigInteger) - Method in class pnuts.lang.BooleanOperator
 
op_bint(BigInteger) - Method in class pnuts.lang.UnaryOperator.Add1
 
op_bint(BigInteger) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_bint(BigInteger) - Method in class pnuts.lang.UnaryOperator.Not
 
op_bint(BigInteger) - Method in class pnuts.lang.UnaryOperator
operation on a BigInteger
op_bint(BigInteger) - Method in class pnuts.lang.UnaryOperator.Subtract1
 
op_boolean(boolean, boolean) - Method in class pnuts.lang.BinaryOperator.And
 
op_boolean(boolean, boolean) - Method in class pnuts.lang.BinaryOperator
Operation on booleans
op_boolean(boolean, boolean) - Method in class pnuts.lang.BinaryOperator.Or
 
op_boolean(boolean, boolean) - Method in class pnuts.lang.BinaryOperator.Xor
 
op_boolean(boolean, boolean) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_boolean(boolean, boolean) - Method in class pnuts.lang.BooleanOperator
 
op_boolean(boolean) - Method in class pnuts.lang.UnaryOperator
operation on a boolean value
op_double(double, double) - Method in class pnuts.lang.BinaryOperator.Add
 
op_double(double, double) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_double(double, double) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_double(double, double) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_double(double, double) - Method in class pnuts.lang.BinaryOperator
Operation on doubles
op_double(double, double) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator.GE
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator.GT
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator.LE
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator.LT
 
op_double(double, double) - Method in class pnuts.lang.BooleanOperator
 
op_double(double) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_double(double) - Method in class pnuts.lang.UnaryOperator
operation on a double value
op_float(float, float) - Method in class pnuts.lang.BinaryOperator.Add
 
op_float(float, float) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_float(float, float) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_float(float, float) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_float(float, float) - Method in class pnuts.lang.BinaryOperator
Operation on floats
op_float(float, float) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator.GE
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator.GT
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator.LE
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator.LT
 
op_float(float, float) - Method in class pnuts.lang.BooleanOperator
 
op_float(float) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_float(float) - Method in class pnuts.lang.UnaryOperator
operation on a float value
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Add
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.And
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator
Operation on ints
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Or
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.ShiftArithmetic
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.ShiftLeft
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.ShiftRight
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_int(int, int) - Method in class pnuts.lang.BinaryOperator.Xor
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator.GE
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator.GT
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator.LE
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator.LT
 
op_int(int, int) - Method in class pnuts.lang.BooleanOperator
 
op_int(int) - Method in class pnuts.lang.UnaryOperator.Add1
 
op_int(int) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_int(int) - Method in class pnuts.lang.UnaryOperator.Not
 
op_int(int) - Method in class pnuts.lang.UnaryOperator
operation on an int value
op_int(int) - Method in class pnuts.lang.UnaryOperator.Subtract1
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Add
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.And
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Mod
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator
Operation on longs
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Or
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.ShiftArithmetic
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.ShiftLeft
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.ShiftRight
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_long(long, long) - Method in class pnuts.lang.BinaryOperator.Xor
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator.GE
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator.GT
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator.LE
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator.LT
 
op_long(long, long) - Method in class pnuts.lang.BooleanOperator
 
op_long(long) - Method in class pnuts.lang.UnaryOperator.Add1
 
op_long(long) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_long(long) - Method in class pnuts.lang.UnaryOperator.Not
 
op_long(long) - Method in class pnuts.lang.UnaryOperator
operation on a long value
op_long(long) - Method in class pnuts.lang.UnaryOperator.Subtract1
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BinaryOperator.Add
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BinaryOperator.Add
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BinaryOperator.Divide
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BinaryOperator
Operation on a Numeric and an Object
op_numeric(Object, Numeric) - Method in class pnuts.lang.BinaryOperator
Operation on an Object and a Numeric
op_numeric(Numeric, Object) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator.GE
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator.GE
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator.GT
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator.GT
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator.LE
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator.LE
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator.LT
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator.LT
 
op_numeric(Numeric, Object) - Method in class pnuts.lang.BooleanOperator
 
op_numeric(Object, Numeric) - Method in class pnuts.lang.BooleanOperator
 
op_numeric(Numeric) - Method in class pnuts.lang.UnaryOperator.Negate
 
op_numeric(Numeric) - Method in class pnuts.lang.UnaryOperator
operation on a Numeric
op_object(Object, Object) - Method in class pnuts.lang.BinaryOperator.Add
 
op_object(Object, Object) - Method in class pnuts.lang.BinaryOperator.Multiply
 
op_object(Object, Object) - Method in class pnuts.lang.BinaryOperator
Operation on Object's
op_object(Object, Object) - Method in class pnuts.lang.BinaryOperator.Subtract
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator.GE
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator.GT
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator.LE
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator.LT
 
op_object(Object, Object) - Method in class pnuts.lang.BooleanOperator
 
op_string(String, Object) - Method in class pnuts.lang.BinaryOperator.Add
 
op_string(Object, String) - Method in class pnuts.lang.BinaryOperator.Add
 
op_string(String, Object) - Method in class pnuts.lang.BinaryOperator
Operation on a String and an Object
op_string(Object, String) - Method in class pnuts.lang.BinaryOperator
Operation on an Object and a String
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator.EQ
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator.GE
 
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator.GE
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator.GT
 
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator.GT
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator.LE
 
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator.LE
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator.LT
 
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator.LT
 
op_string(String, Object) - Method in class pnuts.lang.BooleanOperator
 
op_string(Object, String) - Method in class pnuts.lang.BooleanOperator
 
Opcode - Interface in pnuts.compiler
 
open(Function, Object[]) - Method in class pnuts.lang.Context
 
open(Function, Object[]) - Method in class pnuts.tools.DebugContext
Tracks stack depth (function call) in pure interpreter.
open(String) - Method in class pnuts.tools.VisualDebuggerView
Opens a local file in a window
OPEN_FRAME - Static variable in class pnuts.tools.CommandEvent
The event type which indicates a function is called.
openAction - Static variable in class pnuts.tools.VisualDebuggerView
 
openMethod(String, String, short) - Method in class pnuts.compiler.ClassFile
 
openMethod(String, String, short, String[]) - Method in class pnuts.compiler.ClassFile
 
operateOn(Object, Object) - Method in class pnuts.lang.BinaryOperator
Dispatches a binary expression to a particular operation
operateOn(Object, Object) - Method in class pnuts.lang.BooleanOperator
 
operateOn(Object) - Method in class pnuts.lang.UnaryOperator
 
operation - Variable in exception pnuts.lang.PnutsException
 
or(Object, Object) - Static method in class pnuts.lang.Runtime
| operation
or(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
orNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
orNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
orNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
orNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
outer - Variable in class pnuts.lang.Function
reference to the outer function

P

PA - Static variable in interface pnuts.lang.PnutsParserConstants
 
Package - Class in pnuts.lang
This class represents a Pnuts' package (not Java's).
Package() - Constructor for class pnuts.lang.Package
Creates a package that is not visible from other packages.
Package(String) - Constructor for class pnuts.lang.Package
Creates a package and register it in a static hashtable.
Package(String, Package) - Constructor for class pnuts.lang.Package
Creates a package and register it in a static hashtable.
Package(String, Package, Package) - Constructor for class pnuts.lang.Package
Creates a package and register it in a static hashtable.
PACKAGE - Static variable in class pnuts.lang.PnutsFunction
 
Package() - Method in class pnuts.lang.PnutsParser
 
PACKAGE - Static variable in interface pnuts.lang.PnutsParserConstants
 
PackageFactory - Interface in pnuts.lang
The system property "pnuts.package.factory" is specified at startup time, the package(..) builtin function calls its createPackage() method of the specified class.
packageNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
packageNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
packageNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
packageNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
PackagePermission - Class in pnuts.security
This class represents access to a Package in Pnuts.
PackagePermission(String) - Constructor for class pnuts.security.PackagePermission
 
PackagePermission(String, String) - Constructor for class pnuts.security.PackagePermission
 
packages - Variable in class pnuts.lang.Package
All packages with a non-null name
PackageStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
Param() - Method in class pnuts.lang.PnutsParser
 
ParamList(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
parent - Variable in class pnuts.compiler.ClassFile
 
parent - Variable in class pnuts.lang.Package
 
parent - Variable in class pnuts.lang.SimpleNode
 
parse(InputStream) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by parse(Reader)
parse(Reader) - Static method in class pnuts.lang.Pnuts
parse a script from Reader and return a Pnuts object
parse(Reader, ParseEnvironment) - Static method in class pnuts.lang.Pnuts
parse a script from Reader and return a Pnuts object
parse(Reader, Object, Context) - Static method in class pnuts.lang.Pnuts
parse a script from Reader and return a Pnuts object
parse(Reader, Object, Context, ParseEnvironment) - Static method in class pnuts.lang.Pnuts
parse a script from Reader and return a Pnuts object
parse(String) - Static method in class pnuts.lang.Pnuts
Parses a script and return a Pnuts object
parseChar(String) - Static method in class pnuts.lang.Runtime
Parse a character literal.
parsedExpression - Variable in class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
 
parsedTime - Variable in class pnuts.ext.CachedScript
 
ParseEnvironment - Interface in pnuts.lang
This class defines how to handle ParseException thrown by the parser.
ParseException - Exception in pnuts.lang
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception pnuts.lang.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception pnuts.lang.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception pnuts.lang.ParseException
 
parseFloat(String) - Static method in class pnuts.lang.Runtime
Parse a floating point number.
parseInt(String) - Static method in class pnuts.lang.Runtime
Parse an integer.
parseString(String) - Static method in class pnuts.lang.Runtime
Parse a string literal.
pkg - Variable in class pnuts.lang.Function
 
pkg - Variable in class pnuts.lang.PnutsFunction
 
pkgName - Variable in class pnuts.lang.Function
the package name in which this function is defined
PLUS - Static variable in interface pnuts.lang.PnutsParserConstants
 
Pnuts - Class in pnuts.lang
This class provides a set of static methods to parse/execute scripts.
Pnuts() - Constructor for class pnuts.lang.Pnuts
 
pnuts.compiler - package pnuts.compiler
This package provides Pnuts compiler that translate scripts to Java bytecode.
pnuts.ext - package pnuts.ext
This package provides classes that are useful when extending the Pnuts API.
pnuts.lang - package pnuts.lang
This package provides the core of the Pnuts language processor.
pnuts.security - package pnuts.security
This package provides security related extensions to the Pnuts API.
pnuts.tools - package pnuts.tools
This package provides provides the classes that support pnuts command.
pnuts_version - Static variable in class pnuts.lang.Pnuts
The version number
PnutsCompiler - Class in pnuts.tools
A batch compiler for Pnuts.
PnutsCompiler() - Constructor for class pnuts.tools.PnutsCompiler
 
PnutsConsole - Class in pnuts.tools
 
PnutsConsole() - Constructor for class pnuts.tools.PnutsConsole
Constructor
PnutsConsoleApplet - Class in pnuts.tools
Pnuts Console Applet Usage:
PnutsConsoleApplet() - Constructor for class pnuts.tools.PnutsConsoleApplet
 
PnutsConsoleUI - Class in pnuts.tools
Swing based UI
PnutsConsoleUI() - Constructor for class pnuts.tools.PnutsConsoleUI
 
PnutsConsoleUI(Console) - Constructor for class pnuts.tools.PnutsConsoleUI
 
PnutsException - Exception in pnuts.lang
This is a wrapper class for Exception to be thrown.
PnutsException() - Constructor for exception pnuts.lang.PnutsException
Constructor
PnutsException(String) - Constructor for exception pnuts.lang.PnutsException
Constructor
PnutsException(String, Context) - Constructor for exception pnuts.lang.PnutsException
Constructor
PnutsException(String, Object[], Context) - Constructor for exception pnuts.lang.PnutsException
This constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(String, String, Object[], Context) - Constructor for exception pnuts.lang.PnutsException
This constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(Throwable) - Constructor for exception pnuts.lang.PnutsException
Deprecated. replaced by PnutsException(Throwable, Context)
PnutsException(Throwable, Context) - Constructor for exception pnuts.lang.PnutsException
Constructor
PnutsException(Throwable, Object, Context) - Constructor for exception pnuts.lang.PnutsException
Deprecated.  
PnutsException.TraceInfo - Class in pnuts.lang
A node of a call-chain, which represents a position of a certain function call
PnutsException.TraceInfo() - Constructor for class pnuts.lang.PnutsException.TraceInfo
 
PnutsException.TraceInfo(Object, Object[], Object, int, int) - Constructor for class pnuts.lang.PnutsException.TraceInfo
Constructor
PnutsException.TraceInfo(Object, Object, Object[], Object, int, int) - Constructor for class pnuts.lang.PnutsException.TraceInfo
Constructor
PnutsFunction - Class in pnuts.lang
A PnutsFunction represents a group of Pnuts functions with a same name.
PnutsFunction() - Constructor for class pnuts.lang.PnutsFunction
 
PnutsFunction(String) - Constructor for class pnuts.lang.PnutsFunction
Constructor
PnutsFunction(String, PnutsFunction) - Constructor for class pnuts.lang.PnutsFunction
Constructor
PnutsImpl - Class in pnuts.lang
This class defines an abstract interface of script interpreter's implementation, It also gives the default implementation, which is a pure interpreter.
PnutsImpl() - Constructor for class pnuts.lang.PnutsImpl
 
PnutsImplAdapter - Class in pnuts.ext
Deprecated. replaced by ImplementationAdapter
PnutsImplAdapter(PnutsImpl) - Constructor for class pnuts.ext.PnutsImplAdapter
Deprecated.  
PnutsInterpreter - Class in pnuts.lang
The pure interpreter
PnutsInterpreter() - Constructor for class pnuts.lang.PnutsInterpreter
 
PnutsParser - Class in pnuts.lang
 
PnutsParser(InputStream) - Constructor for class pnuts.lang.PnutsParser
 
PnutsParser(InputStream, String) - Constructor for class pnuts.lang.PnutsParser
 
PnutsParser(Reader) - Constructor for class pnuts.lang.PnutsParser
 
PnutsParser(PnutsParserTokenManager) - Constructor for class pnuts.lang.PnutsParser
 
PnutsParserConstants - Interface in pnuts.lang
 
PnutsParserTokenManager - Class in pnuts.lang
 
PnutsParserTokenManager(SimpleCharStream) - Constructor for class pnuts.lang.PnutsParserTokenManager
 
PnutsParserTokenManager(SimpleCharStream, int) - Constructor for class pnuts.lang.PnutsParserTokenManager
 
PnutsParserTreeConstants - Interface in pnuts.lang
 
POP - Static variable in interface pnuts.compiler.Opcode
 
POP2 - Static variable in interface pnuts.compiler.Opcode
 
popFile(Context) - Method in class pnuts.lang.PnutsImpl
Tell the context that the current script file has been completed.
postDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
postDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
postDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
postDecrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
postIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
PostOpe(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
preDecrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
preIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
PrimaryExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
PrimaryPrefix(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
PrimarySuffix(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
primitive(Context, Class, Object, boolean) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "primitiveType(object)" and "(primitiveType)object"
primitiveNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
printError(Throwable, Context) - Static method in class pnuts.lang.Runtime
 
printStackTrace(PrintWriter) - Method in exception pnuts.lang.PnutsException
 
printStackTrace(PrintStream) - Method in exception pnuts.lang.PnutsException
 
prompt - Static variable in class pnuts.lang.Pnuts
"prompt" string for the command shell
properties - Variable in class pnuts.lang.PnutsImpl
 
Property - Interface in pnuts.lang
In Pnuts, access to a property of an object implements this interface causes a call of methods in this interface.
provide(String, Context) - Method in class pnuts.lang.PnutsImpl
Check if any exception handler for the specified exception is defined.
providedModuleNames - Variable in class pnuts.lang.Package
 
provideTable - Variable in class pnuts.lang.Context
 
PublicMemberAccessor - Class in pnuts.ext
when -p option is given to the pnuts command, this class is used so that public members can be accessed.
PublicMemberAccessor() - Constructor for class pnuts.ext.PublicMemberAccessor
 
PublicMemberAccessor(Configuration) - Constructor for class pnuts.ext.PublicMemberAccessor
 
pushDouble(double) - Method in class pnuts.compiler.ClassFile
 
pushFile(Object, Context) - Method in class pnuts.lang.PnutsImpl
Tell the context that it's started processing the script file.
pushFloat(float) - Method in class pnuts.compiler.ClassFile
 
pushInteger(int) - Method in class pnuts.compiler.ClassFile
 
pushLong(long) - Method in class pnuts.compiler.ClassFile
 
pushString(String) - Method in class pnuts.compiler.ClassFile
 
putCachedCode(Object, CachedPnutsImpl.ScriptCacheEntry) - Method in class pnuts.ext.CachedPnutsImpl
 
PUTFIELD - Static variable in interface pnuts.compiler.Opcode
 
putField(Context, Object, String, Object) - Method in class pnuts.ext.ConfigurationAdapter
Sets a field of the specified class.
putField(Context, Object, String, Object) - Method in class pnuts.ext.NonPublicMemberAccessor
Sets a field value of the specified object.
putField(Context, Object, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
Sets a field value of the specified object.
putField(Context, Object, String, Object) - Method in class pnuts.lang.Configuration
Sets a field value of the specified object.
putField(Context, Object, String, Object) - Method in class pnuts.lang.JavaBeansConfiguration
Sets a Bean property of the specified bean.
putField(Context, Object, String, Object) - Static method in class pnuts.lang.Runtime
Assign an object to a instance field.
PUTFIELD2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
PUTFIELD_QUICK - Static variable in interface pnuts.compiler.Opcode
 
PUTFIELD_QUICK_W - Static variable in interface pnuts.compiler.Opcode
 
putObjectField(Context, Object, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
 
PUTSTATIC - Static variable in interface pnuts.compiler.Opcode
 
PUTSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
PUTSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
putStaticField(Context, Class, String, Object) - Method in class pnuts.ext.ConfigurationAdapter
Sets a field of the specified class.
putStaticField(Context, Class, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
 
putStaticField(Context, Class, String, Object) - Method in class pnuts.lang.Configuration
Sets a value to the static field of the specified class.
putStaticField(Context, Class, String, Object) - Static method in class pnuts.lang.Runtime
Assign an object to a static field.

Q

quantity(Number, String, String, Context) - Static method in class pnuts.lang.Runtime
Creates an object from a number literal and a unit symbol
QuantityFactory - Interface in pnuts.lang
A factory class for unit numbers.
queryProperty(String) - Method in class pnuts.lang.PnutsImpl
 
QUIT - Static variable in class pnuts.lang.PnutsFunction
 

R

RA - Static variable in interface pnuts.lang.PnutsParserConstants
 
RAA - Static variable in interface pnuts.lang.PnutsParserConstants
 
rangeNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
rangeNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
rangeNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
rangeNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
RBRACE - Static variable in interface pnuts.lang.PnutsParserConstants
 
RBRACKET - Static variable in interface pnuts.lang.PnutsParserConstants
 
register(int, int) - Method in class pnuts.compiler.Label
Registers the label and allocate 2 or 4 bytes in the code buffer.
register(PnutsFunction) - Method in class pnuts.lang.Function
 
register(PnutsFunction, boolean) - Method in class pnuts.lang.Function
 
registerClass(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
 
registerQuantityFactory(String, QuantityFactory) - Method in class pnuts.lang.Context
Defines a unit.
ReInit(InputStream) - Method in class pnuts.lang.PnutsParser
 
ReInit(InputStream, String) - Method in class pnuts.lang.PnutsParser
 
ReInit(Reader) - Method in class pnuts.lang.PnutsParser
 
ReInit(PnutsParserTokenManager) - Method in class pnuts.lang.PnutsParser
 
ReInit(SimpleCharStream) - Method in class pnuts.lang.PnutsParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class pnuts.lang.PnutsParserTokenManager
 
RelationalExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
REM - Static variable in interface pnuts.lang.PnutsParserConstants
 
remove(String) - Static method in class pnuts.lang.Package
Deprecated. replaced by remove(String, Context)
remove(String, Context) - Static method in class pnuts.lang.Package
Removes the specified package.
removeBreakPoint(Object, int) - Method in interface pnuts.tools.Debugger
Remove a breakpoint
removeBreakPoint(Object, int) - Method in class pnuts.tools.TerminalDebugger
 
removeBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebugger
 
removeBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebuggerModel
 
removeCommandListener(CommandListener) - Method in class pnuts.tools.DebugContext
 
removePackage(Package, Context) - Method in class pnuts.lang.Package
 
removePackage(Package, Context) - Method in class pnuts.security.SecurePackage
 
replaceChar(String, Number, Object) - Static method in class pnuts.lang.Runtime
 
require(String, Context) - Static method in class pnuts.lang.Pnuts
Loads a script "file" only if the script has not been read.
require(String, Context, boolean) - Static method in class pnuts.lang.Pnuts
 
REQUIRE - Static variable in class pnuts.lang.PnutsFunction
 
requiredModuleNames - Variable in class pnuts.lang.Package
 
reserveStack(int) - Method in class pnuts.compiler.ClassFile
 
reset() - Method in class pnuts.ext.CachedPnutsImpl
Reset the cache entries
resolveClass(String) - Method in class pnuts.lang.Context
 
resolveSymbol(String) - Method in class pnuts.lang.Context
Resolves the value of a symbol in the following order: (1) current package (2) builtin functions, primitive types, pnuts_version (3) module exports (4) imported classes (5) parent packages
resolveType(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
RET - Static variable in interface pnuts.compiler.Opcode
 
RETURN - Static variable in interface pnuts.compiler.Opcode
 
Return(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
RETURN - Static variable in interface pnuts.lang.PnutsParserConstants
 
returnNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
returnNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
returnNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
returnNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
revoke(String, Context) - Method in class pnuts.lang.PnutsImpl
 
RIGHT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
 
root - Variable in class pnuts.lang.Package
 
RPAREN - Static variable in interface pnuts.lang.PnutsParserConstants
 
RSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
 
run(Context) - Method in class pnuts.ext.CachedScript
 
run(Context) - Method in class pnuts.ext.ModuleBase
Defines ERROR and EXPORTS, and then call execute(Context).
run(Context) - Method in interface pnuts.lang.Executable
Executes the executable object;
run(Context) - Method in class pnuts.lang.Pnuts
Executes a Pnuts object with the specified Context
run(Context) - Method in class pnuts.lang.Runtime
Executes a compiled script.
RUNSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
 
Runtime - Class in pnuts.lang
This class provides runtime supports for Pnuts compiler/interpreter.
Runtime() - Constructor for class pnuts.lang.Runtime
 
Runtime.Accessor - Class in pnuts.lang
 
Runtime.Accessor(Class, Class) - Constructor for class pnuts.lang.Runtime.Accessor
 
Runtime.Break - Exception in pnuts.lang
 
Runtime.Break(Object) - Constructor for exception pnuts.lang.Runtime.Break
 
Runtime.Continue - Exception in pnuts.lang
 
Runtime.Continue() - Constructor for exception pnuts.lang.Runtime.Continue
 
Runtime.FunctionSerializer - Interface in pnuts.lang
 
Runtime.TypeMap - Class in pnuts.lang
 
Runtime.TypeMap(Class, Object, Runtime.TypeMap) - Constructor for class pnuts.lang.Runtime.TypeMap
 

S

SA - Static variable in interface pnuts.lang.PnutsParserConstants
 
SALOAD - Static variable in interface pnuts.compiler.Opcode
 
SASTORE - Static variable in interface pnuts.compiler.Opcode
 
saveNode(SimpleNode) - Static method in class pnuts.lang.Runtime
 
SC_AND - Static variable in interface pnuts.lang.PnutsParserConstants
 
SC_OR - Static variable in interface pnuts.lang.PnutsParserConstants
 
ScopeAnalyzer - Class in pnuts.compiler
 
ScopeAnalyzer() - Constructor for class pnuts.compiler.ScopeAnalyzer
 
script - Variable in class pnuts.ext.CachedScript
 
scriptSource - Variable in class pnuts.lang.Pnuts
The script source, from where the script came.
scriptURL - Variable in class pnuts.ext.CachedScript
 
SecurePackage - Class in pnuts.security
Package that can control add/write/read operation in a security context.
SecurePackage(String, Package) - Constructor for class pnuts.security.SecurePackage
 
SecurePackageFactory - Class in pnuts.security
A Package Factory that creates SecurePackage
SecurePackageFactory() - Constructor for class pnuts.security.SecurePackageFactory
 
SecurePnutsImpl - Class in pnuts.security
A PnutsImpl subclass that execute scripts in an access control context in Java2 Security.
SecurePnutsImpl(PnutsImpl) - Constructor for class pnuts.security.SecurePnutsImpl
Deprecated. replaced by SecurePnutsImpl(Implementation)
SecurePnutsImpl(Implementation) - Constructor for class pnuts.security.SecurePnutsImpl
A Constructor
SecurePnutsImpl(PnutsImpl, CodeSource) - Constructor for class pnuts.security.SecurePnutsImpl
Deprecated. replaced by SecurePnutsImpl(Implementation, CodeSource)
SecurePnutsImpl(Implementation, CodeSource) - Constructor for class pnuts.security.SecurePnutsImpl
A Constructor
SEMICOLON - Static variable in interface pnuts.lang.PnutsParserConstants
 
serialize(PnutsFunction, ObjectOutputStream) - Method in interface pnuts.lang.Runtime.FunctionSerializer
 
set(String, Object, Context) - Method in class pnuts.compiler.ClassGenerator.SuperCallProxy
 
set(String, Object) - Method in class pnuts.lang.Context
Defines an environemnt variable associated with this context To access those environment variables, Context.get(String) should be called.
set(int, Object) - Method in interface pnuts.lang.Indexed
Write access to the index
set(Object) - Method in interface pnuts.lang.NamedValue
Sets the value
set(String, Object, Context) - Method in class pnuts.lang.Package
Set a value of a symbol in the package.
set(String, Object) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by context.getCurrentPackage().set(str.intern(), val)
set(String, Object, String) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by Package.getPackage(pkg, null).set(str, val)
set(String, Object, Context) - Method in interface pnuts.lang.Property
This method defines the behavior of the following expression.
set(String, Object, Context) - Method in class pnuts.security.SecurePackage
 
setAttribute(String, Object) - Method in class pnuts.lang.SimpleNode
Sets an attribute value for the specified key
setBeanProperty(Object, String, Object) - Method in class pnuts.compiler.DynamicRuntime
Sets a Bean property of the specified bean.
setBeanProperty(Object, String, Object, Class) - Method in class pnuts.compiler.DynamicRuntime
Sets a Bean property of the specified bean.
setBeanProperty(Context, Object, String, Object) - Method in class pnuts.lang.JavaBeansConfiguration
Sets a Bean property of the specified bean.
setBeanProperty(Context, Object, String, Object) - Static method in class pnuts.lang.Runtime
Sets a Bean property of the specified bean.
setBeanProperty(Object, String, Object) - Method in class pnuts.lang.Runtime
Sets a Bean property of the specified bean.
setBeanProperty(Object, String, Object, Class) - Method in class pnuts.lang.Runtime
Sets a Bean property of the specified bean.
setBreakPoint(Object, int) - Method in interface pnuts.tools.Debugger
Sets a breakpoint
setBreakPoint(Object, int) - Method in class pnuts.tools.TerminalDebugger
Sets a breakpoint at the specified position
setBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebugger
 
setBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebuggerModel
 
setBreakPointInFunction(String) - Method in class pnuts.tools.TerminalDebugger
 
setBreakPointInFunction(String, int) - Method in class pnuts.tools.TerminalDebugger
 
setClassLoader(ClassLoader) - Method in class pnuts.lang.Context
Changes the current class loader for this context.
setClassLoader(ClassLoader) - Method in class pnuts.tools.PnutsConsole
 
setClassPrefix(String) - Static method in class pnuts.tools.PnutsCompiler
Set the prefix of the class name.
setConfiguration(Configuration) - Method in class pnuts.lang.Context
Changes the configuration for this context.
setConsoleUI(ConsoleUI) - Method in class pnuts.tools.Console
Sets the UI object of this console
setConstantFolding(boolean) - Method in class pnuts.compiler.Compiler
 
setContext(Context) - Method in class pnuts.tools.PnutsConsole
 
setCurrentPackage(Package) - Method in class pnuts.lang.Context
set the current package
setCursorPosition(int) - Method in class pnuts.tools.JTextComponentConsoleUI
 
setDebugger(Debugger) - Method in class pnuts.tools.DebugContext
Registers the specified debugger as the controller of this debug context
setDebugStream(PrintStream) - Method in class pnuts.lang.PnutsParserTokenManager
 
setDefaults(Properties) - Static method in class pnuts.lang.Pnuts
Sets properties that affect the behavior of Pnuts interpreter/compiler.
setElement(Context, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
Sets an array element
setElement(Context, Object, Object, Object) - Method in class pnuts.lang.Configuration
Sets an element
setElement(Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "target[key] = value"
setErrorStream(Object, boolean) - Method in class pnuts.lang.Context
Deprecated. replaced by setErrorWriter(Writer, boolean)
setErrorStream(Object) - Method in class pnuts.lang.Context
Deprecated. replaced by setErrorWriter(Writer)
setErrorWriter(Writer, boolean) - Method in class pnuts.lang.Context
 
setErrorWriter(Writer) - Method in class pnuts.lang.Context
 
setExitHook(Executable) - Method in class pnuts.lang.Context
Sets a hook to be executed at the end of a script.
setExitHook(Context, PnutsFunction) - Static method in class pnuts.lang.Runtime
 
setGreeting(boolean) - Method in class pnuts.tools.PnutsConsole
 
setImplementation(Implementation) - Method in class pnuts.lang.Context
Changes the Implementation object associated with this context
setInputLog(String) - Method in class pnuts.tools.PnutsConsole
 
setJTextComponent(JTextComponent) - Method in class pnuts.tools.JTextComponentConsoleUI
 
setLine(Context, int, int) - Static method in class pnuts.lang.Runtime
Deprecated.  
setLine(Context, int) - Static method in class pnuts.lang.Runtime
 
setMarkPosition(int) - Method in class pnuts.tools.JTextComponentConsoleUI
 
setModel(Console) - Method in class pnuts.tools.JTextComponentConsoleUI
 
setModules(String[]) - Method in class pnuts.tools.PnutsConsole
 
setName(String) - Method in class pnuts.lang.Context
Sets the name of the context
setOutputStream(Object, boolean) - Method in class pnuts.lang.Context
Deprecated. replaced by setTerminalWriter(Writer, boolean)
setOutputStream(Object) - Method in class pnuts.lang.Context
Deprecated. replaced by setTerminalWriter(Writer)
setOutputStream(OutputStream) - Method in class pnuts.lang.Context
Set the specified OutputStream as the standard output stream of the context, to which write() writes data.
setPackage(Package) - Method in class pnuts.lang.Function
 
setPackage(Package) - Method in class pnuts.lang.PnutsFunction
 
setPackage(Package, Context) - Static method in class pnuts.lang.Runtime
 
setPnutsImpl(PnutsImpl) - Method in class pnuts.lang.Context
Deprecated. replaced by setImplementation()
setPosition(int) - Method in class pnuts.compiler.Label
Fixes the position to which the label points
setPriority(int) - Method in class pnuts.tools.PnutsConsole
 
setPrompt(String) - Static method in class pnuts.lang.Pnuts
Sets a "prompt" string for the command shell
setProperties(Properties) - Method in class pnuts.lang.PnutsImpl
 
setProperty(String, String) - Method in class pnuts.compiler.CompilerPnutsImpl
 
setProperty(String, String) - Method in class pnuts.lang.PnutsImpl
 
setRange(Context, Object, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
Defines the semantices of an expression like:
setRange(Context, Object, Object, Object, Object) - Method in class pnuts.lang.Configuration
Defines the semantices of an expression like:
setRange(Object, Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "id[from..to] = sth"
setRelativePosition(int) - Method in class pnuts.compiler.Label
Fixes the position to which the label points
setScriptEncoding(String) - Method in class pnuts.lang.Context
Changes the script encoding for the context
setScriptSource(Object) - Method in exception pnuts.lang.ParseException
 
setScriptSource(Object) - Method in class pnuts.lang.Pnuts
Associates a script source with this parsed (compiled) expression.
setTerminalStream(Object, boolean) - Method in class pnuts.lang.Context
Deprecated. replaced by setTerminalWriter(Writer, boolean)
setTerminalStream(Object) - Method in class pnuts.lang.Context
Deprecated. replaced by setTerminalWriter(Writer)
setTerminalWriter(Writer) - Method in class pnuts.lang.Context
Set the terminal writer of the context
setTerminalWriter(Writer, boolean) - Method in class pnuts.lang.Context
Set the terminal writer of the context
setTerminationCallback(Runnable) - Method in class pnuts.tools.PnutsConsole
 
setterSignature(Class, String) - Static method in class pnuts.compiler.Compiler
 
setThreadContext(Context) - Static method in class pnuts.lang.Runtime
Gets the context bound to the current thread
setTitle(String) - Method in class pnuts.tools.PnutsConsoleUI
 
setTraceMode(boolean) - Method in class pnuts.compiler.Compiler
 
setValue(String, Object) - Method in class pnuts.lang.Context
 
setVerbose(boolean) - Method in class pnuts.compiler.FileWriterHandler
 
setVerbose(boolean) - Method in class pnuts.compiler.ZipWriterHandler
 
setVerbose(boolean) - Method in class pnuts.lang.Context
Sets the verbose mode
setVerbose(boolean) - Static method in class pnuts.lang.Pnuts
Deprecated. replaced by Context.setVerbose()
setVerbose(boolean) - Method in class pnuts.tools.PnutsCompiler
Set verbose mode
setWriter(Writer) - Method in class pnuts.lang.Context
Set the specified Writer as the standard writer of the context.
setWriter(Writer, boolean) - Method in class pnuts.lang.Context
Set the specified Writer as the standard writer of the context.
shift(int) - Method in class pnuts.compiler.ClassFile
 
shift(int) - Method in class pnuts.compiler.Label
 
shiftArithmetic(Object, Object) - Static method in class pnuts.lang.Runtime
>>> operation
shiftArithmetic(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftArithmeticNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ShiftExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
shiftLeft(Object, Object) - Static method in class pnuts.lang.Runtime
< < operation
shiftLeft(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftLeftNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
shiftRight(Object, Object) - Static method in class pnuts.lang.Runtime
>> operation
shiftRight(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftRightNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
short_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
SHORT_SYMBOL - Static variable in class pnuts.lang.Runtime
 
shortcutSuffix - Static variable in class pnuts.tools.VisualDebuggerView
 
showScript(Object, int, SimpleNode, Context) - Method in class pnuts.tools.VisualDebuggerModel
 
signal(CommandEvent) - Method in interface pnuts.tools.CommandListener
Some kind of event raised, e.g.
signal(CommandEvent) - Method in class pnuts.tools.TerminalDebugger
 
signal(CommandEvent) - Method in class pnuts.tools.VisualDebugger
 
signal(CommandEvent) - Method in class pnuts.tools.VisualDebuggerModel
 
signature(Class[]) - Static method in class pnuts.compiler.ClassFile
 
signature(Class) - Static method in class pnuts.compiler.ClassFile
 
SimpleNode - Class in pnuts.lang
This class respresents a node of AST.
SimpleNode(int) - Constructor for class pnuts.lang.SimpleNode
 
SINGLE_LINE_COMMENT - Static variable in interface pnuts.lang.PnutsParserConstants
 
SIPUSH - Static variable in interface pnuts.compiler.Opcode
 
sizeOfParameters(String) - Static method in class pnuts.compiler.ClassFile
 
sizeOfReturn(String) - Static method in class pnuts.compiler.ClassFile
 
SLASH - Static variable in interface pnuts.lang.PnutsParserConstants
 
specialConstructor - Variable in exception pnuts.lang.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class pnuts.lang.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
StackFrameInspector - Class in pnuts.tools
This class allows to enumerate local variables in pure interpreter mode.
StackFrameInspector() - Constructor for class pnuts.tools.StackFrameInspector
 
STAR - Static variable in interface pnuts.lang.PnutsParserConstants
 
start(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
start(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
start(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
Start(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
start(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
start() - Method in class pnuts.tools.PnutsConsole
 
start() - Method in class pnuts.tools.PnutsConsoleApplet
 
startGUI() - Method in class pnuts.tools.VisualDebuggerView
 
startNodes - Variable in class pnuts.lang.Pnuts
Parsed scripts
startSet(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
startSet(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
startSet(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
StartSet(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
startSet(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
StatementExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
STATIC - Static variable in interface pnuts.lang.PnutsParserConstants
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
StaticMemberNode() - Method in class pnuts.lang.PnutsParser
 
staticMemberNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
StaticMethodNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
staticMethodNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
stepAction - Static variable in class pnuts.tools.VisualDebuggerView
 
stepUpAction - Static variable in class pnuts.tools.VisualDebuggerView
 
stopClass - Variable in class pnuts.lang.Runtime.Accessor
 
storeLocal(int) - Method in class pnuts.compiler.ClassFile
 
str - Variable in class pnuts.lang.SimpleNode
 
STRING_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
STRING_LITERAL2 - Static variable in interface pnuts.lang.PnutsParserConstants
 
stringNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
stringNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
stringNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
stringNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
subtract(Object) - Method in interface pnuts.lang.Numeric
Subtracts the value of parameter from the object
subtract(Object, Object) - Static method in class pnuts.lang.Runtime
- operation
subtract(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
subtract1(Object) - Static method in class pnuts.lang.Runtime
Subtracts 1 from a object (integer)
subtract1(Object, Context) - Static method in class pnuts.lang.Runtime
 
subtractNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
subtractNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
subtractNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
subtractNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
SUPER_BIT - Static variable in class pnuts.compiler.ClassGenerator
 
SWAP - Static variable in interface pnuts.compiler.Opcode
 
SWITCH - Static variable in interface pnuts.lang.PnutsParserConstants
 
switchBlock(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
switchBlock(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
switchBlock(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
SwitchBlock(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
switchBlock(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
SwitchLabel(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
switchStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
switchStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
switchStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
SwitchStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
switchStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
SwitchTo(int) - Method in class pnuts.lang.PnutsParserTokenManager
 

T

T_BOOLEAN - Static variable in interface pnuts.compiler.Opcode
Types for the NEWARRAY opcode.
T_BYTE - Static variable in interface pnuts.compiler.Opcode
 
T_CHAR - Static variable in interface pnuts.compiler.Opcode
 
T_DOUBLE - Static variable in interface pnuts.compiler.Opcode
 
T_FLOAT - Static variable in interface pnuts.compiler.Opcode
 
T_INT - Static variable in interface pnuts.compiler.Opcode
 
T_LONG - Static variable in interface pnuts.compiler.Opcode
 
T_SHORT - Static variable in interface pnuts.compiler.Opcode
 
TA - Static variable in interface pnuts.lang.PnutsParserConstants
 
TABLESWITCH - Static variable in interface pnuts.compiler.Opcode
 
TerminalDebugger - Class in pnuts.tools
This class implements a debugger for Pnuts interpreter.
TerminalDebugger() - Constructor for class pnuts.tools.TerminalDebugger
 
TerminalDebugger(Reader) - Constructor for class pnuts.tools.TerminalDebugger
 
ternary(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
ternary(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
ternary(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ternary(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
THIS_BIT - Static variable in class pnuts.compiler.ClassGenerator
 
THROW - Static variable in class pnuts.lang.PnutsFunction
 
THROW - Static variable in interface pnuts.lang.PnutsParserConstants
 
throwable - Variable in exception pnuts.lang.PnutsException
 
throwException(Object, Context) - Static method in class pnuts.lang.Runtime
 
throwNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
throwNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
throwNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ThrowNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
throwNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
TILDE - Static variable in interface pnuts.lang.PnutsParserConstants
 
tipSuffix - Static variable in class pnuts.tools.VisualDebuggerView
 
toArray() - Method in class pnuts.lang.Generator
 
toBoolean(Object) - Static method in class pnuts.lang.Runtime
Convert a given object to a boolean value
toCallable(Object) - Method in class pnuts.ext.ConfigurationAdapter
Convert an object to Callable.
toCallable(Object) - Method in class pnuts.lang.Configuration
Convert an object to Callable.
toEnumeration(Object) - Method in class pnuts.ext.ConfigurationAdapter
Convert an object to Enumeration.
toEnumeration(Object) - Method in class pnuts.lang.Configuration
Convert an object to Enumeration.
toEnumeration(Object, Context) - Static method in class pnuts.lang.Runtime
 
token - Variable in class pnuts.lang.PnutsParser
 
Token - Class in pnuts.lang
Describes the input token stream.
Token() - Constructor for class pnuts.lang.Token
 
token_source - Variable in class pnuts.lang.PnutsParser
 
tokenImage - Variable in exception pnuts.lang.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface pnuts.lang.PnutsParserConstants
 
TokenMgrError - Error in pnuts.lang
 
TokenMgrError() - Constructor for error pnuts.lang.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error pnuts.lang.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error pnuts.lang.TokenMgrError
 
toString() - Method in class pnuts.compiler.ClassFile
 
toString() - Method in class pnuts.lang.Function
 
toString() - Method in class pnuts.lang.Generator
 
toString() - Method in class pnuts.lang.Package
 
toString() - Method in exception pnuts.lang.PnutsException
 
toString() - Method in class pnuts.lang.PnutsException.TraceInfo
 
toString() - Method in class pnuts.lang.PnutsFunction
 
toString() - Method in class pnuts.lang.SimpleNode
 
toString(String) - Method in class pnuts.lang.SimpleNode
 
toString() - Method in class pnuts.lang.Token
Returns the image.
toString() - Method in class pnuts.security.JAASPnutsImpl
 
toString() - Method in class pnuts.security.SecurePnutsImpl
 
trace - Variable in exception pnuts.lang.PnutsException
 
transform(Class, Object) - Static method in class pnuts.lang.Runtime
 
transform(Class, Object, Context) - Static method in class pnuts.lang.Runtime
 
transformClassDefBody(SimpleNode, Class) - Static method in class pnuts.compiler.ClassGenerator
 
TRUE - Static variable in interface pnuts.lang.PnutsParserConstants
 
trueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
trueNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
trueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
trueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
TRY - Static variable in interface pnuts.lang.PnutsParserConstants
 
tryStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
tryStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
tryStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
TryStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
tryStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
Type(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
TypedParam(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
TypedParamList(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 

U

ui - Variable in class pnuts.tools.Console
 
UnaryExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
UnaryExpressionNotPlusMinus(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
UnaryOperator - Class in pnuts.lang
Abstract base class of unary operations.
UnaryOperator() - Constructor for class pnuts.lang.UnaryOperator
 
UnaryOperator.Add1 - Class in pnuts.lang
The default implementation of ++ operator
UnaryOperator.Add1() - Constructor for class pnuts.lang.UnaryOperator.Add1
 
UnaryOperator.Negate - Class in pnuts.lang
The default implementation of unary - operator
UnaryOperator.Negate() - Constructor for class pnuts.lang.UnaryOperator.Negate
 
UnaryOperator.Not - Class in pnuts.lang
The default implementation of ~ operator
UnaryOperator.Not() - Constructor for class pnuts.lang.UnaryOperator.Not
 
UnaryOperator.Subtract1 - Class in pnuts.lang
The default implementation of -- operator
UnaryOperator.Subtract1() - Constructor for class pnuts.lang.UnaryOperator.Subtract1
 
undefined(Object[], Context) - Method in class pnuts.lang.PnutsFunction
 
UNICODE_ESCAPE - Static variable in interface pnuts.lang.PnutsParserConstants
 
unitTable - Variable in class pnuts.lang.Context
 
unparse() - Method in class pnuts.ext.CachedScript
 
unparse(Context) - Method in class pnuts.lang.Function
 
unparse() - Method in class pnuts.lang.Pnuts
Obtain the script code from a parsed object
unparse(Writer) - Method in class pnuts.lang.Pnuts
Obtain the script code from a parsed object and write it to the specified Writer.
unparse(int) - Method in class pnuts.lang.PnutsFunction
Retrieve the symbolic definition of the function.
unparse(SimpleNode, Context) - Static method in class pnuts.lang.Runtime
 
unparse() - Method in class pnuts.lang.SimpleNode
 
UNUSE - Static variable in class pnuts.lang.PnutsFunction
 
unusePackage(Package) - Method in class pnuts.lang.Context
 
update(Context) - Method in class pnuts.ext.CachedScript
Parse/compile the script and update the timestamp.
update(ContextEvent) - Method in interface pnuts.tools.ContextListener
 
update(Object, int, SimpleNode, Context) - Method in class pnuts.tools.VisualDebuggerView
Updates the view
updateColumn(int) - Method in class pnuts.lang.Context
 
updateLine(SimpleNode, int, int) - Method in class pnuts.lang.Context
AST interpreter calls this method when line number changes, giving AST nodes and line information Not that compiler does not call this method.
updateLine(int) - Method in class pnuts.lang.Context
Both AST interpreter and compiler call this method when line number changes.
updateLine(SimpleNode, int, int) - Method in class pnuts.tools.DebugContext
This method is called when line number is changed.
USE - Static variable in class pnuts.lang.PnutsFunction
 
usedAsModule - Variable in class pnuts.lang.Package
 
usedPackages() - Method in class pnuts.lang.Context
Returns the list of use()'d packages
useDynamicProxy(boolean) - Method in class pnuts.compiler.Compiler
 
useDynamicProxy(boolean) - Method in class pnuts.tools.PnutsCompiler
Switch dynamic proxy generation
usePackage(Package, boolean) - Method in class pnuts.lang.Context
 
usePackage(String) - Method in class pnuts.lang.Context
Add a package to the use()'d package list.
usePackage(String, boolean) - Method in class pnuts.lang.Context
Add a package to the use()'d package list.

V

Value - Interface in pnuts.lang
Objects of this class are returned by Package.lookup() method.
varargs - Variable in class pnuts.lang.Function
variable length arugments
Visitor - Interface in pnuts.lang
This is the interface of Visit operations for a syntax tree.
VisualDebugger - Class in pnuts.tools
 
VisualDebugger() - Constructor for class pnuts.tools.VisualDebugger
 
VisualDebuggerModel - Class in pnuts.tools
 
VisualDebuggerModel() - Constructor for class pnuts.tools.VisualDebuggerModel
 
VisualDebuggerView - Class in pnuts.tools
 
VisualDebuggerView() - Constructor for class pnuts.tools.VisualDebuggerView
 
VisualDebuggerView(ResourceBundle) - Constructor for class pnuts.tools.VisualDebuggerView
 
VOID_SYMBOL - Static variable in class pnuts.lang.Runtime
 

W

WHILE - Static variable in interface pnuts.lang.PnutsParserConstants
 
whileStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
whileStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
whileStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
WhileStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
whileStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
WIDE - Static variable in interface pnuts.compiler.Opcode
 
wrap(Map) - Static method in class pnuts.lang.Package
Returns a Package object that wrap the specified Map
write(OutputStream) - Method in class pnuts.compiler.ClassFile
 

X

XOR - Static variable in interface pnuts.lang.PnutsParserConstants
 
xor(Object, Object) - Static method in class pnuts.lang.Runtime
^ operation
xor(Object, Object, Context) - Static method in class pnuts.lang.Runtime
 
xorNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
xorNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
xorNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
xorNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 

Y

Yield(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
 
YIELD - Static variable in interface pnuts.lang.PnutsParserConstants
 
yieldNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
yieldNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
 
yieldNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
yieldNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 

Z

ZipWriterHandler - Class in pnuts.compiler
This class is a concrete class of ClassFileHandler.
ZipWriterHandler(ZipOutputStream) - Constructor for class pnuts.compiler.ZipWriterHandler
 

_

_add - Variable in class pnuts.lang.Configuration
object1 + object2
_add1 - Variable in class pnuts.lang.Configuration
object++, ++object
_and - Variable in class pnuts.lang.Configuration
object1 & object2
_callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.compiler.DynamicRuntime
 
_callConstructor(Context, Class, Object[], Class[], CodeLoader) - Method in class pnuts.compiler.DynamicRuntime
 
_callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.Runtime
Call a constructor
_callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.compiler.DynamicRuntime
call a method
_callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.Runtime
Call a method
_divide - Variable in class pnuts.lang.Configuration
object1 / object2
_eq - Variable in class pnuts.lang.Configuration
object1 == object2
_ge - Variable in class pnuts.lang.Configuration
object1 >= object2
_gt - Variable in class pnuts.lang.Configuration
object1 > object2
_le - Variable in class pnuts.lang.Configuration
object1 <= object2
_listElements(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
_listElements(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
_lt - Variable in class pnuts.lang.Configuration
object1 < object2
_mod - Variable in class pnuts.lang.Configuration
object1 % object2
_multiply - Variable in class pnuts.lang.Configuration
object1 * object2
_negate - Variable in class pnuts.lang.Configuration
- object
_not - Variable in class pnuts.lang.Configuration
~object
_or - Variable in class pnuts.lang.Configuration
object1 | object2
_shiftArithmetic - Variable in class pnuts.lang.Configuration
object1 >>> object2
_shiftLeft - Variable in class pnuts.lang.Configuration
object1 < < object2
_shiftRight - Variable in class pnuts.lang.Configuration
object1 >> object2
_subtract - Variable in class pnuts.lang.Configuration
object1 - object2
_subtract1 - Variable in class pnuts.lang.Configuration
object--, object--
_xor - Variable in class pnuts.lang.Configuration
object1 ^ object2

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _