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
 
ABS - Static variable in class pnuts.lang.Arithmetic
 
abs(Object) - Static method in class pnuts.lang.Arithmetic
 
AbstractData - interface pnuts.lang.AbstractData.
In Pnuts, 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_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(Context) - Method in class pnuts.lang.Pnuts
 
accept(int, Visitor, Context) - Method in class pnuts.lang.PnutsFunction
 
accept(int, Visitor, Context) - Method in class pnuts.ext.SynchronizedFunction
 
accept(SimpleNode, Context) - Method in class pnuts.lang.PnutsImpl
 
accept(SimpleNode, Context) - Method in class pnuts.compiler.CompilerPnutsImpl
 
accept(SimpleNode, Context) - Method in class pnuts.ext.SecurePnutsImpl
Evaluate a parsed script
accept(SimpleNode, int, Context) - Method in class pnuts.lang.PnutsInterpreter
 
accept(SimpleNode, int, Context) - Method in class pnuts.compiler.Compiler
 
accept(Visitor, Context) - Method in class pnuts.lang.SimpleNode
dispatch the instance to a Visitor
accept(Visitor, Context) - Method in class pnuts.lang.Function
 
accept(Visitor, Context) - Method in class pnuts.lang.Pnuts
traverse the parsed tree with the specified Visitor and Context
ACONST_NULL - Static variable in interface pnuts.compiler.Opcode
 
actionPerformed(ActionEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
actionPerformed(ActionEvent) - Method in class pnuts.awt.DialogOutputStream
 
ADD - Static variable in class pnuts.lang.Arithmetic
 
add_escapes(String) - Method in class 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.
add(byte) - 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, Label) - 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) - Method in class pnuts.ext.Fraction
 
add(Object) - Method in class pnuts.ext.Quantity
 
add(Object) - Method in class pnuts.ext.Complex
 
add(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
add(String) - Method in class pnuts.ext.DynamicClass
Deprecated. As of Pnuts 1.0beta1
add(String, Class) - Method in class pnuts.ext.DynamicClass
Deprecated. As of Pnuts 1.0beta1
add(String, DynamicClass) - Method in class pnuts.ext.DynamicClass
Deprecated. As of Pnuts 1.0beta1
addCommandListener(CommandListener) - Method in class pnuts.tools.DebugContext
 
addConstant(String) - Method in class pnuts.compiler.ClassFile
 
addConstant(String, String, short, double) - 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, short) - 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.
added(int) - Method in class pnuts.ext.SynchronizedFunction
 
addExceptionHandler(Label, Label, Label, String) - Method in class pnuts.compiler.ClassFile
 
addField(String, String, short) - Method in class pnuts.compiler.ClassFile
 
addInterface(String) - Method in class pnuts.compiler.ClassFile
 
AdditiveExpression() - Method in class pnuts.lang.PnutsParser
 
addLayoutComponent(Component, Object) - Method in class pnuts.awt.PnutsLayout
Adds the specified component to the layout, using the specified constraint object.
addLayoutComponent(String, Component) - Method in class pnuts.awt.PnutsLayout
Adds the specified component with the specified name to the layout.
addNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
addNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
addNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
addNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
adjustmentValueChanged(AdjustmentEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
align - Variable in class pnuts.awt.PnutsLayout
default align
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
 
AND - Static variable in class pnuts.lang.Arithmetic
 
and(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
AndExpression() - Method in class pnuts.lang.PnutsParser
 
andNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
andNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
andNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
andNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ANEWARRAY - Static variable in interface pnuts.compiler.Opcode
 
ANEWARRAY_QUICK - Static variable in interface pnuts.compiler.Opcode
 
ApplicationNode() - Method in class pnuts.lang.PnutsParser
 
applicationNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
applicationNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
applicationNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
applicationNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ARETURN - Static variable in interface pnuts.compiler.Opcode
 
Arithmetic - class pnuts.lang.Arithmetic.
The Arithmetic class is geared for transparent multi-precision arithmetic operations.
Arithmetic() - Constructor for class pnuts.lang.Arithmetic
 
ARRAYLENGTH - Static variable in interface pnuts.compiler.Opcode
 
arrayType(Class, int) - Static method in class pnuts.lang.Runtime
Creates an array type
arrayType(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
arrayType(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
arrayType(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
arrayType(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ASSIGN - Static variable in interface pnuts.lang.PnutsParserConstants
 
Assignment() - Method in class pnuts.lang.PnutsParser
 
assignment(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignment(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignment(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignment(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentAA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentAA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentDA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentDA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentEA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentEA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentLA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentLA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentMA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentMA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentOA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentOA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentPA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentPA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentRA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentRA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentRAA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentRAA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentSA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentSA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignmentTA(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
assignmentTA(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
assignRange(Object, Number, Number, Object) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "id[from..to] = sth"
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
 
attributeType(String) - Method in class pnuts.ext.DynamicClass
 
autoload(String, AutoloadHook) - Method in class pnuts.lang.Context
 
autoload(String, String) - Method in class pnuts.lang.Context
 
AutoloadHook - interface pnuts.lang.AutoloadHook.
This interface defines how to find the value of a undefined variable.
autoloadTable - Variable in class pnuts.lang.Context
 

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
 
BASTORE - Static variable in interface pnuts.compiler.Opcode
 
beginLine - Variable in class pnuts.lang.SimpleNode
 
beginLine - Variable in class pnuts.lang.Context
 
binary(Object, Object, int, Context) - Static method in class pnuts.lang.Runtime
Binary operation
bind(String, PnutsFunction) - Method in class pnuts.util.EventAdapter
Deprecated.  
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() - Method in class pnuts.lang.PnutsParser
 
blockNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
blockNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
blockNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
blockNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
BooleanLiteral() - Method in class pnuts.lang.PnutsParser
 
BorderLayoutMapping - class pnuts.awt.BorderLayoutMapping.
BorderLayout mapping of Hierarchical Layout.
BorderLayoutMapping() - Constructor for class pnuts.awt.BorderLayoutMapping
 
BOTTOM - Static variable in class pnuts.awt.PnutsLayout
 
BREAK - Static variable in interface pnuts.lang.PnutsParserConstants
 
Break() - Method in class pnuts.lang.PnutsParser
 
breakNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
breakNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
breakNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
breakNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
BREAKPOINT - Static variable in interface pnuts.compiler.Opcode
 
byte_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
BytecodeClassLoader - class pnuts.util.BytecodeClassLoader.
 
BytecodeClassLoader() - Constructor for class pnuts.util.BytecodeClassLoader
 

C

Cache - class pnuts.lang.Cache.
An implementation of LRU cache
Cache() - Constructor for class pnuts.lang.Cache
 
Cache(int) - Constructor for class pnuts.lang.Cache
 
Cache(int, boolean) - Constructor for class pnuts.lang.Cache
 
CachedPnutsImpl - class pnuts.ext.CachedPnutsImpl.
PnutsImpl which caches parsed (compiled) scripts and reuse them.
CachedPnutsImpl() - Constructor for class pnuts.ext.CachedPnutsImpl
 
CachedPnutsImpl(boolean) - Constructor for class pnuts.ext.CachedPnutsImpl
 
call(Context, Object, Object[], Class[]) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "funcOrClass(args...)"
call(Object[]) - Method in class pnuts.lang.PnutsFunction
Deprecated. Replaced by call(Object[], Context)
call(Object[], Context) - Method in class pnuts.lang.PnutsFunction
Call a function in "context" with arguments "args".
call(Object, String, Object[]) - Method in class pnuts.ext.PnutsBSFEngine
This is used by an application to call into the scripting engine to make a function/method call.
call(String, Object[]) - Static method in class pnuts.lang.PnutsFunction
call a function "name" with arguments "args"
call(String, Object[], Context) - Static method in class pnuts.lang.PnutsFunction
call a function "name" in "context" with arguments "args"
call(String, Object[], String) - Static method in class pnuts.lang.PnutsFunction
Deprecated. Replaced by call(String, Object[], Context)
callConstructor(Class, Object[]) - Static method in class pnuts.lang.Runtime
Call a constructor
callConstructor(Class, Object[]) - Static method in class pnuts.compiler.DynamicRuntime
Call a constructor
callConstructor(Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
Call a constructor
callConstructor(Class, Object[], Class[]) - Static method in class pnuts.compiler.DynamicRuntime
Call a constructor
callConstructor(Class, Object[], Class[], CodeLoader) - Static method in class pnuts.compiler.DynamicRuntime
 
callConstructor(Context, Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
Call a constructor
callConstructor(Context, Class, Object[], Class[]) - Static method in class pnuts.compiler.DynamicRuntime
 
callFunction(Context, PnutsFunction, Object[]) - Static method in class pnuts.lang.Runtime
Call a function
callMethod(Class, String, Object[], Class[], Object) - Static method in class pnuts.lang.Runtime
Call a method
callMethod(Class, String, Object[], Class[], Object) - Static method in class pnuts.compiler.DynamicRuntime
 
callMethod(Class, String, Object[], Object) - Static method in class pnuts.lang.Runtime
Call a method
callMethod(Context, Class, String, Object[], Class[], Object) - Static method in class pnuts.lang.Runtime
Call a method
callMethod(Context, Class, String, Object[], Class[], Object) - Static method in class pnuts.compiler.DynamicRuntime
call a method
CALOAD - Static variable in interface pnuts.compiler.Opcode
 
CardLayoutMapping - class pnuts.awt.CardLayoutMapping.
CardLayout mapping of Hierarchical Layout.
CardLayoutMapping() - Constructor for class pnuts.awt.CardLayoutMapping
 
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() - Method in class pnuts.lang.PnutsParser
 
castExpression(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
castExpression(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
castExpression(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
castExpression(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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
 
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() - Method in class pnuts.lang.PnutsParser
 
catchNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
catchNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
catchNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
catchNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
CENTER - Static variable in class pnuts.awt.PnutsLayout
 
char_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
CHARACTER_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
characterNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
characterNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
characterNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
characterNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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) - Method in class pnuts.lang.PnutsImpl
Check if any exception handler for the specified exception is defined.
checkException(Context, Throwable, Hashtable) - 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
 
children - Variable in class pnuts.lang.Package
 
CLASS - Static variable in class pnuts.lang.PnutsFunction
 
CLASS - Static variable in interface pnuts.lang.PnutsParserConstants
 
Class() - Method in class pnuts.lang.PnutsParser
 
ClassFile - class pnuts.compiler.ClassFile.
This class provides a way of making Java class file image.
ClassFile(String, String, String, short) - Constructor for class pnuts.compiler.ClassFile
 
ClassFileException - exception pnuts.compiler.ClassFileException.
 
ClassFileException() - Constructor for class pnuts.compiler.ClassFileException
 
ClassFileException(String) - Constructor for class pnuts.compiler.ClassFileException
 
ClassFileHandler - interface pnuts.compiler.ClassFileHandler.
This interface defines an abstract interface to get a result of compilation.
className(String) - Static method in class pnuts.tools.PnutsCompiler
 
classNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
classNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
classNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
classNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
clear(String, Context) - Method in class pnuts.lang.Package
Deletes a symbol from the package.
clear(String, Context) - Method in class pnuts.ext.ProtectedPackage
Delete a symbol from the package
clone() - Method in class pnuts.lang.Package
 
clone() - Method in class pnuts.lang.Context
Make a clone of the context
clone() - Method in class pnuts.compiler.CompileContext
 
clone() - Method in class pnuts.ext.Prototype
 
clone(boolean) - Method in class pnuts.lang.Context
Make a clone of the context
close() - Method in class pnuts.lang.Context
 
close() - Method in class pnuts.awt.TextAreaOutputStream
 
close() - Method in class pnuts.tools.DebugContext
Tracks stack depth (function return) in pure interpreter
closeMethod() - Method in class pnuts.compiler.ClassFile
 
codeSize() - Method in class pnuts.compiler.ClassFile
 
COLON - Static variable in interface pnuts.lang.PnutsParserConstants
 
COLON2 - Static variable in interface pnuts.lang.PnutsParserConstants
 
cols - Variable in class pnuts.awt.PnutsLayout
The number of columns
COMMA - Static variable in interface pnuts.lang.PnutsParserConstants
 
CommandEvent - class pnuts.tools.CommandEvent.
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 pnuts.tools.CommandListener.
 
COMPARE - Static variable in class pnuts.lang.Arithmetic
 
compare(Object, Object) - Method in class pnuts.ext.PnutsComparator
Compares its two arguments for order.
compareTo(Object) - Method in interface pnuts.lang.Numeric
compare the object with the parameter.
compareTo(Object) - Method in class pnuts.ext.Fraction
 
compareTo(Object) - Method in class pnuts.ext.Quantity
 
compareTo(Object) - Method in class pnuts.ext.Complex
 
compareTo(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
compareTo(Object, Object, Context) - Static method in class pnuts.lang.Runtime
Comparison operation
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(PnutsFunction) - Method in class pnuts.compiler.Compiler
Compile a function group
compile(PnutsFunction, ClassFileHandler) - Method in class pnuts.compiler.Compiler
Compile a function group.
compile(PnutsFunction, Context) - Method in class pnuts.compiler.Compiler
Compile a function group
compile(String) - Method in class pnuts.compiler.Compiler
Compile an expression.
compile(String, Context) - Method in class pnuts.compiler.Compiler
Compile an expression.
CompileContext - class pnuts.compiler.CompileContext.
This class is used with pnuts.compiler.Compiler class to compile Pnuts scripts.
CompileContext() - Constructor for class pnuts.compiler.CompileContext
 
Compiled - interface pnuts.compiler.Compiled.
This interface serves to identify classes which are generated by Compiler.
Compiler - class pnuts.compiler.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 pnuts.compiler.CompilerPnutsImpl.
A subclass of PnutsImpl that always compiles scripts.
CompilerPnutsImpl() - Constructor for class pnuts.compiler.CompilerPnutsImpl
 
compileToFile(Pnuts, String, File) - Method in class pnuts.tools.PnutsCompiler
 
compileToZip(Pnuts, String, ZipOutputStream) - Method in class pnuts.tools.PnutsCompiler
 
Complex - class pnuts.ext.Complex.
An implementation of complex number.
Complex(Number, Number) - Constructor for class pnuts.ext.Complex
 
componentAdded(ContainerEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
componentHidden(ComponentEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
componentMoved(ComponentEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
componentRemoved(ContainerEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
componentResized(ComponentEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
componentShown(ComponentEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
ConditionalAndExpression() - Method in class pnuts.lang.PnutsParser
 
ConditionalExpression() - Method in class pnuts.lang.PnutsParser
 
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 pnuts.compiler.Constants.
 
Context - class pnuts.lang.Context.
Context represents an internal state in Pnuts runtime environment.
CONTEXT_ATTRIBUTE_NAME - Static variable in class pnuts.servlet.PnutsJspTag
 
Context() - Constructor for class pnuts.lang.Context
Create a new context
Context(Context) - Constructor for class pnuts.lang.Context
Creates a context from a template
Context(Package) - Constructor for class pnuts.lang.Context
Creates a context.
Context(String) - Constructor for class pnuts.lang.Context
Creates a context.
ContextFactory - interface pnuts.tools.ContextFactory.
Factory for Context object
contextName - Variable in class pnuts.lang.PnutsException
 
CONTINUE - Static variable in interface pnuts.lang.PnutsParserConstants
 
Continue() - Method in class pnuts.lang.PnutsParser
 
continueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
continueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
continueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
continueNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
createCodeLoader(ClassLoader) - Static method in class pnuts.compiler.Compiler
 
createContainer(Container, Object[]) - Method in class pnuts.awt.Layout
Define how to make a container.
createContainer(Container, Object[]) - Method in class pnuts.awt.BorderLayoutMapping
 
createContainer(Container, Object[]) - Method in class pnuts.awt.GridLayoutMapping
 
createContainer(Container, Object[]) - Method in class pnuts.awt.PnutsLayoutMapping
 
createContainer(Container, Object[]) - Method in class pnuts.awt.GridBagLayoutMapping
 
createContainer(Container, Object[]) - Method in class pnuts.awt.CardLayoutMapping
 
createContainer(Container, Object[]) - Method in class pnuts.awt.FlowLayoutMapping
 
createContext() - Method in class pnuts.tools.VisualDebugger
 
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
 
createPackage(String, Package) - Method in interface pnuts.lang.PackageFactory
 
createPackage(String, Package) - Method in class pnuts.ext.ProtectedPackage.Factory
 
curChar - Variable in class pnuts.lang.PnutsParserTokenManager
 
currency(double) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currency(double, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currency(double, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currency(long) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currency(long, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currency(long, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
currentToken - Variable in class 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
 
date() - Method in class pnuts.util.LocaleAdapter
Deprecated.  
date(Date) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
date(Date, String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
date(String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
datetime() - Method in class pnuts.util.LocaleAdapter
Deprecated.  
datetime(Date) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
datetime(Date, String, String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
datetime(String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
datetime(String, String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
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 pnuts.tools.DebugContext.
This class is a Context used in debug mode.
DebugContext() - Constructor for class pnuts.tools.DebugContext
 
DebugContext(Context) - Constructor for class pnuts.tools.DebugContext
 
DebugContext(Package) - Constructor for class pnuts.tools.DebugContext
 
DECIMAL_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
declare(String, DynamicClass) - Static method in class pnuts.ext.DynamicClass
Declare a type which behaves as a "class".
declareBean(BSFDeclaredBean) - Method in class pnuts.ext.PnutsBSFEngine
Declare a bean
declareLocal() - Method in class pnuts.compiler.ClassFile
 
decode(String, String) - Static method in class pnuts.servlet.URLEncoding
Decodes a x-www-form-urlencoded to a String.
DEFAULT - Static variable in interface pnuts.lang.PnutsParserConstants
 
DEFAULT_PORT - Static variable in class pnuts.tools.PersonalServer
 
defaultErrorStream - Static variable in class pnuts.lang.Context
 
defaultOutputStream - Static variable in class pnuts.lang.Context
 
defaultTerminalStream - Static variable in class pnuts.lang.Context
 
define(String, byte[], int, int) - Method in class pnuts.util.BytecodeClassLoader
Read Bytecode data length bytes from offset and define name class.
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
defined(int) - Method in class pnuts.ext.SynchronizedFunction
 
defined(String) - Method in class pnuts.lang.Context
 
defined(String, Context) - Method in class pnuts.lang.Package
 
depth - Variable in class pnuts.lang.Context
 
DFLT - Static variable in interface pnuts.lang.PnutsParserConstants
 
DialogOutputStream - class pnuts.awt.DialogOutputStream.
Output stream to a Dialog.
DialogOutputStream(Frame) - Constructor for class pnuts.awt.DialogOutputStream
 
DialogOutputStream(Frame, int) - Constructor for class pnuts.awt.DialogOutputStream
 
DialogOutputStream(Frame, int, boolean) - Constructor for class pnuts.awt.DialogOutputStream
 
DIGIT - Static variable in interface pnuts.lang.PnutsParserConstants
 
disable_tracing() - Method in class pnuts.lang.PnutsParser
 
dispatch(String, AWTEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
DIVIDE - Static variable in class pnuts.lang.Arithmetic
 
divide(Object) - Method in interface pnuts.lang.Numeric
divides itself by the value of parameter
divide(Object) - Method in class pnuts.ext.Fraction
 
divide(Object) - Method in class pnuts.ext.Quantity
 
divide(Object) - Method in class pnuts.ext.Complex
 
divide(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
divideNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
divideNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
divideNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
divideNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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
 
doEndTag() - Method in class pnuts.servlet.PnutsJspTag
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class pnuts.servlet.PnutsServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class pnuts.servlet.PnutsServlet
 
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
 
doubleValue() - Method in class pnuts.ext.Fraction
 
doubleValue() - Method in class pnuts.ext.Complex
 
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
 
DUP - 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
 
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
 
DynamicClass - class pnuts.ext.DynamicClass.
An implementation of class-based inheritance.
DynamicClass.Instance - class pnuts.ext.DynamicClass.Instance.
 
DynamicClass.Instance(DynamicClass) - Constructor for class pnuts.ext.DynamicClass.Instance
 
DynamicClass(String) - Constructor for class pnuts.ext.DynamicClass
 
DynamicProxy - class pnuts.compiler.DynamicProxy.
 
DynamicProxy() - Constructor for class pnuts.compiler.DynamicProxy
 
DynamicProxyFactory - class pnuts.compiler.DynamicProxyFactory.
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 pnuts.compiler.DynamicRuntime.
 
DynamicRuntime() - Constructor for class pnuts.compiler.DynamicRuntime
 

E

EA - Static variable in interface pnuts.lang.PnutsParserConstants
 
elements() - Method in class pnuts.lang.Package
Enumerates sub-packages
elements() - Method in class pnuts.lang.PnutsFunction
 
ELIF - Static variable in interface pnuts.lang.PnutsParserConstants
 
ELSE - Static variable in interface pnuts.lang.PnutsParserConstants
 
ElseIfNode() - Method in class pnuts.lang.PnutsParser
 
ElseNode() - Method in class pnuts.lang.PnutsParser
 
enable_tracing() - Method in class pnuts.lang.PnutsParser
 
encode(String, String) - Static method in class pnuts.servlet.URLEncoding
Translates a string into x-www-form-urlencoded format.
endLine - Variable in class pnuts.lang.SimpleNode
 
endLine - Variable in class pnuts.lang.Context
 
environment - Variable in class pnuts.lang.Context
 
EOF - Static variable in interface pnuts.lang.PnutsParserConstants
 
eol - Variable in class pnuts.lang.ParseException
The end of line string for this machine.
EOL - Static variable in interface pnuts.lang.PnutsParserConstants
 
Eol() - Method in class pnuts.lang.PnutsParser
 
EQ - Static variable in class pnuts.lang.Arithmetic
 
EQ - Static variable in interface pnuts.lang.PnutsParserConstants
 
EQUAL - Static variable in class pnuts.lang.Arithmetic
 
EQUAL - Static variable in interface pnuts.lang.Numeric
 
EqualityExpression() - Method in class pnuts.lang.PnutsParser
 
equalNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
equalNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
equalNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
equalNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
escape(Object) - Static method in class pnuts.lang.Runtime
 
EVAL - Static variable in class pnuts.lang.PnutsFunction
 
eval(String) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by eval(String, Context)
eval(String, Context) - Method in class pnuts.lang.PnutsImpl
Evaluate an expreesion
eval(String, Context) - Static method in class pnuts.lang.Pnuts
evaluate "str" in "context"
eval(String, Context) - Method in class pnuts.ext.SecurePnutsImpl
Evaluate an expreesion
eval(String, int, int, Object) - Method in class pnuts.ext.PnutsBSFEngine
This is used by an application to evaluate an expression.
eval(String, String) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by eval(String, Context)
evalDepth() - Static method in class pnuts.lang.Pnuts
Get the depth of evaluation.
evaluate(String, Context) - Method in class pnuts.tools.VisualDebugger
 
EventAdapter - class pnuts.util.EventAdapter.
Deprecated. replaced by pnuts.ext.JavaAdapter
EventAdapter() - Constructor for class pnuts.util.EventAdapter
Deprecated.  
EventAdapter(Context) - Constructor for class pnuts.util.EventAdapter
Deprecated.  
EXCEPTION - Static variable in class pnuts.tools.CommandEvent
The event type which indicates some exception has been thrown.
ExclusiveOrExpression() - Method in class pnuts.lang.PnutsParser
 
exec(Context) - Method in class pnuts.lang.Runtime
This method is overrided by classes generated by the compiler.
exec(Object[], Context) - Method in class pnuts.lang.PnutsFunction
Call a function in "context" with arguments "args".
exec(Object[], Context) - Method in class pnuts.lang.Function
 
exec(Object[], Context) - Method in class pnuts.ext.Prototype
 
exec(Object[], Context) - Method in class pnuts.ext.SynchronizedFunction
 
exec(Object[], Context) - Method in class pnuts.ext.ScriptPackage.Function
Creates a script package.
exec(Object[], Context) - Method in class pnuts.ext.DynamicClass
 
exec(PnutsFunction, Object[], Context) - Static method in class pnuts.lang.PnutsFunction
 
execute(CompileContext, Context, boolean) - Method in class pnuts.compiler.Compiler
 
execute(Context) - Method in class pnuts.lang.Runtime
Executes a compiled script.
EXITED - Static variable in class pnuts.tools.CommandEvent
The event type which indicates the execution was normally terminated.
expectedTokenSequences - Variable in class pnuts.lang.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface pnuts.lang.PnutsParserConstants
 
export(String, Context) - Method in class pnuts.ext.ProtectedPackage
 
exports - Variable in class pnuts.ext.ProtectedPackage
 
Expression() - Method in class pnuts.lang.PnutsParser
 
ExpressionList() - Method in class pnuts.lang.PnutsParser
 
expressionList(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
expressionList(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
expressionList(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
expressionList(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
expressionList(SimpleNode, Context, char) - Method in class pnuts.ext.UnparseVisitor
 

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 interface pnuts.lang.Visitor
 
falseNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
falseNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
falseNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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
 
file - Variable in class pnuts.lang.Function
file name in which this function is defined
file - Variable in class pnuts.lang.PnutsException
 
fileToURL(File) - Static method in class pnuts.lang.Runtime
 
FileWriterHandler - class pnuts.compiler.FileWriterHandler.
This class is a concrete class of ClassFileHandler.
FileWriterHandler(File) - Constructor for class pnuts.compiler.FileWriterHandler
 
find(String) - Static method in class pnuts.lang.Package
 
findClass(String) - Method in class pnuts.ext.URLClassLoader
 
findResource(String) - Method in class pnuts.ext.URLClassLoader
 
FirstSet() - Method in class pnuts.lang.PnutsParser
 
FirstSet2() - Method in class pnuts.lang.PnutsParser
 
fix() - Method in class pnuts.compiler.Label
 
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
 
FLOATING_POINT_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
floatingNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
floatingNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
floatingNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
floatingNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
floatValue() - Method in class pnuts.ext.Fraction
 
floatValue() - Method in class pnuts.ext.Complex
 
FlowLayoutMapping - class pnuts.awt.FlowLayoutMapping.
FlowLayout mapping of Hierarchical Layout.
FlowLayoutMapping() - Constructor for class pnuts.awt.FlowLayoutMapping
 
flush() - Method in class pnuts.awt.DialogOutputStream
 
FMUL - Static variable in interface pnuts.compiler.Opcode
 
FNEG - Static variable in interface pnuts.compiler.Opcode
 
focusGained(FocusEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
focusLost(FocusEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
FOR - Static variable in interface pnuts.lang.PnutsParserConstants
 
FOREACH - Static variable in interface pnuts.lang.PnutsParserConstants
 
ForeachStatement() - Method in class pnuts.lang.PnutsParser
 
foreachStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
foreachStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ForInit() - Method in class pnuts.lang.PnutsParser
 
format(Object) - Static method in class pnuts.lang.Pnuts
returns a formatted string for obj
format(Object, int) - Static method in class pnuts.lang.Runtime
Get the String representation of the specified object.
ForStatement() - Method in class pnuts.lang.PnutsParser
 
forStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
forStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
forStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
forStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ForUpdate() - Method in class pnuts.lang.PnutsParser
 
Fraction - class pnuts.ext.Fraction.
An implementation of fractional number.
Fraction(int, int) - Constructor for class pnuts.ext.Fraction
 
Fraction(Number, Number) - Constructor for class pnuts.ext.Fraction
 
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 - Variable in class pnuts.lang.Function
reference to PnutsFunction
Function - class pnuts.lang.Function.
This class represents a function with a certain number of parameters.
FUNCTION - Static variable in interface pnuts.lang.PnutsParserConstants
 
Function() - Constructor for class pnuts.lang.Function
 
Function(String, String[], int, SimpleNode, Package, Context) - Constructor for class pnuts.lang.Function
 
FunctionStatement() - Method in class pnuts.lang.PnutsParser
 
functionStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
functionStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
functionStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
functionStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 

G

GCD - Static variable in class pnuts.lang.Arithmetic
 
gcd(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
GE - Static variable in interface pnuts.lang.PnutsParserConstants
 
generateEventAdapter(Class, String) - Static method in class pnuts.compiler.JavaAdapter
Generate an adapter class for bean events.
generateParseException() - Method in class pnuts.lang.PnutsParser
 
generateSubtype(Class, Class[], Package, Context) - Static method in class pnuts.compiler.JavaAdapter
Generates a class that extends the superClass and implements the interfaces.
geNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
geNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
geNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
geNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
GET_CONTEXT - Static variable in class pnuts.lang.PnutsFunction
 
get() - Method in interface pnuts.lang.Value
 
get(int) - Method in class pnuts.lang.PnutsFunction
 
get(int) - Method in interface pnuts.lang.Indexed
 
get(Object) - Method in class pnuts.lang.Cache
If key is in the cache it returns value, otherwise null.
get(Object) - Method in class pnuts.ext.RefCache
 
get(String) - Method in class pnuts.lang.Package
Deprecated.  
get(String) - Method in class pnuts.lang.Context
Get an environemnt variable associated with this context
get(String) - Static method in class pnuts.lang.Pnuts
 
get(String, Context) - Method in class pnuts.lang.Package
Get the value of a symbol in the package.
get(String, Context) - Method in interface pnuts.lang.Property
This method defines the behavior of the following expression.
get(String, Context) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
get(String, Context) - Method in class pnuts.ext.Prototype
 
get(String, Context) - Method in class pnuts.ext.PropertyAccessor
 
get(String, Context) - Method in class pnuts.ext.ScriptPackage.Function
 
get(String, Context) - Method in class pnuts.ext.DynamicClass.Instance
get a value of the specified variable
get(String, String) - Static method in class pnuts.lang.Pnuts
 
getActions() - Method in class pnuts.lang.PackagePermission
 
getArg() - Method in class pnuts.tools.CommandEvent
Get the optional argument
getAttributes() - Method in class pnuts.ext.DynamicClass
 
getBeginLine(Context) - Static method in class pnuts.lang.Runtime
 
getBottomType(Class) - Static method in class pnuts.lang.Runtime
Get true component type from an array type.
getCallDepth() - Method in class pnuts.tools.DebugContext
Get the stack depth (in pure interpreter)
getClassFile() - Method in class pnuts.compiler.CompileContext
Get the primary class file
getClassFileForEventAdapter(String, Class, String) - Static method in class pnuts.compiler.JavaAdapter
Creates a class file of a event adapter that implements the specified listenerType.
getClassFileForSubtype(String, Class, Class[], Package, Context) - Static method in class pnuts.compiler.JavaAdapter
Creates a class file image of a subtype of superClass (or some interfaces) and writes to the output stream.
getClassFiles() - Method in class pnuts.compiler.CompileContext
Enumerate related class files.
getClassLoader() - Method in class pnuts.lang.Context
 
getClassLoader(Context) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by Context.getClassLoader()
getClassName() - Method in class pnuts.compiler.ClassFile
 
getCols() - Method in class pnuts.awt.PnutsLayout
Get the number of columns
getColspan(Component) - Method in class pnuts.awt.PnutsLayout
 
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.
getConstraints(Component) - Method in class pnuts.awt.PnutsLayout
get a Hashtable of constraint for the specified component
getConstraintString(Component) - Method in class pnuts.awt.PnutsLayout
get a string representaion of constraint for the specified component
getCurrentPackage() - Method in class pnuts.lang.Context
get the current package
getDefaultVisitor() - Static method in class pnuts.lang.Pnuts
 
getDenominator() - Method in class pnuts.ext.Fraction
 
getEndLine(Context) - Static method in class pnuts.lang.Runtime
 
getErrorStream() - Method in class pnuts.lang.Context
Get an OutputStream or a Writer to which error() write message
getEvalDepth() - Method in class pnuts.tools.DebugContext
Get the depth of evaluation.
getExpand(Component) - Method in class pnuts.awt.PnutsLayout
 
GETFIELD - 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
 
getField(Context, Object, String) - Static method in class pnuts.lang.Runtime
Get the value of a instance field.
GETFIELD2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
getFunction(Context) - Static method in class pnuts.lang.Runtime
 
getFunction(PnutsFunction, int) - Static method in class pnuts.lang.Runtime
 
getFunctions(PnutsFunction) - Static method in class pnuts.lang.Runtime
 
getGlobalPackage() - Static method in class pnuts.lang.Package
 
getGridPoint(Container, int, int) - Method in class pnuts.awt.PnutsLayout
get left-top point of the component(x,y)
getGridRectangle(Container, int) - Method in class pnuts.awt.PnutsLayout
get bounding-box for idx'th component
getHAlign(Component) - Method in class pnuts.awt.PnutsLayout
 
getId(String) - Method in class pnuts.lang.Context
Gets the value of a symbol
getImaginary() - Method in class pnuts.ext.Complex
 
getImportEnv() - Method in class pnuts.lang.Function
 
getImportEnv(int) - Method in class pnuts.lang.PnutsFunction
 
getImportEnv(int) - Method in class pnuts.ext.SynchronizedFunction
 
getIndex(Object, int, Context) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "target[index]"
getIPadX(Component) - Method in class pnuts.awt.PnutsLayout
 
getIPadY(Component) - Method in class pnuts.awt.PnutsLayout
 
getLabel() - Method in class pnuts.compiler.ClassFile
 
getLabel(boolean) - Method in class pnuts.compiler.ClassFile
 
getLayoutAlignmentX(Container) - Method in class pnuts.awt.PnutsLayout
Returns the alignment along the x axis.
getLayoutAlignmentY(Container) - Method in class pnuts.awt.PnutsLayout
Returns the alignment along the y axis.
getLine() - Method in class pnuts.lang.PnutsException
 
getLocal() - Method in class pnuts.compiler.ClassFile
 
getLocale() - Method in class pnuts.util.LocaleAdapter
Deprecated.  
getMessage() - Method in class pnuts.lang.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMethods() - Method in class pnuts.ext.DynamicClass
 
getName() - Method in class pnuts.lang.Package
 
getName() - Method in class pnuts.lang.PnutsFunction
 
getName() - Method in class pnuts.lang.Context
Gets the name of the context
getName() - Method in class pnuts.lang.Function
 
getName() - Method in class pnuts.ext.SynchronizedFunction
 
getName() - Method in class pnuts.ext.ScriptPackage.Function
 
getName() - Method in class pnuts.ext.DynamicClass
get the name of type
getNextToken() - Method in class pnuts.lang.PnutsParserTokenManager
 
getNextToken() - Method in class pnuts.lang.PnutsParser
 
getNumberOfParameter() - Method in class pnuts.lang.Function
 
getNumerator() - Method in class pnuts.ext.Fraction
 
getOutputStream() - Method in class pnuts.lang.Context
get output stream of the context
getPackage() - Method in class pnuts.lang.PnutsFunction
 
getPackage() - Method in class pnuts.lang.Function
 
getPackage() - Method in class pnuts.ext.SynchronizedFunction
 
getPackage(String) - Static method in class pnuts.lang.Package
If package "pkg" exists returns the package, otherwise creates and returns it.
getPadX(Component) - Method in class pnuts.awt.PnutsLayout
 
getPadY(Component) - Method in class pnuts.awt.PnutsLayout
 
getParent() - Method in class pnuts.lang.Package
Returns the parent package.
getPnutsImpl() - Method in class pnuts.lang.Context
Gets the PnutsImpl object associated with this context
getPreferredSize() - Method in class pnuts.awt.ImageCanvas
 
getProperty() - Method in class pnuts.ext.PropertyAccessor
 
getProperty(PropertyAccessor) - Static method in class pnuts.ext.PropertyAccessor
 
getReal() - Method in class pnuts.ext.Complex
 
getResource(String) - Method in class pnuts.ext.URLClassLoader
 
getResourceAsStream(String) - Method in class pnuts.ext.URLClassLoader
 
getResult(CompileContext) - Method in interface pnuts.compiler.ClassFileHandler
This method is called when all class files are handled.
getResult(CompileContext) - Method in class pnuts.compiler.ZipWriterHandler
 
getResult(CompileContext) - Method in class pnuts.compiler.FileWriterHandler
 
getRows() - Method in class pnuts.awt.PnutsLayout
get the number of rows
getRowspan(Component) - Method in class pnuts.awt.PnutsLayout
 
getRuntime(Context) - Static method in class pnuts.lang.Runtime
 
getScriptSource() - Method in class pnuts.lang.Context
Get the source of the script.
getScriptSource() - Method in class pnuts.lang.Function
 
getScriptSource() - Method in class pnuts.lang.PnutsException
 
getScriptSource(Context) - Static method in class pnuts.lang.Runtime
 
getScriptURL(String, Context) - Static method in class pnuts.lang.Runtime
 
getServletInfo() - Method in class pnuts.servlet.PnutsServlet
 
getSize() - Method in class pnuts.awt.DialogOutputStream
 
GETSTATIC - Static variable in interface pnuts.compiler.Opcode
 
GETSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
GETSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
getStaticField(Context, Class, String) - Static method in class pnuts.lang.Runtime
Get the value of a static field.
getSuperType() - Method in class pnuts.ext.DynamicClass
get the supertype
getTerminalStream() - Method in class pnuts.lang.Context
get terminal-output-stream of the context
getThrowable() - Method in class pnuts.lang.PnutsException
 
getToken(int) - Method in class pnuts.lang.PnutsParser
 
getType() - Method in class pnuts.tools.CommandEvent
Get the event type
getUniform() - Method in class pnuts.awt.PnutsLayout
get "uniform" property
getURLs() - Method in class pnuts.ext.URLClassLoader
 
getVAlign(Component) - Method in class pnuts.awt.PnutsLayout
 
global(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
global(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
global(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
global(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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
 
GridBagLayoutMapping - class pnuts.awt.GridBagLayoutMapping.
GridBagLayout mapping of Hierarchical Layout.
GridBagLayoutMapping() - Constructor for class pnuts.awt.GridBagLayoutMapping
 
GridLayoutMapping - class pnuts.awt.GridLayoutMapping.
GridLayout mapping of Hierarchical Layout.
GridLayoutMapping() - Constructor for class pnuts.awt.GridLayoutMapping
 
GT - Static variable in interface pnuts.lang.PnutsParserConstants
 
gtNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
gtNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
gtNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
gtNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 

H

H_FIT - Static variable in class pnuts.awt.PnutsLayout
 
handle() - Method in class pnuts.tools.PersonalServer
 
handle(CompileContext, 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(CompileContext, ClassFile) - Method in class pnuts.compiler.ZipWriterHandler
 
handle(CompileContext, ClassFile) - Method in class pnuts.compiler.FileWriterHandler
 
Handler - class pnuts.ext.jar.Handler.
a URLStreamHandler for JarResourceConnection
Handler() - Constructor for class pnuts.ext.jar.Handler
 
HEX_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
HEX_LITERAL2 - 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() - Method in class pnuts.lang.PnutsParser
 
idNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
idNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
idNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
idNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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() - Method in class pnuts.lang.PnutsParser
 
ifStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ifStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ifStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
ifStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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
 
ImageCanvas - class pnuts.awt.ImageCanvas.
ImageCanvas class is a canvas which displays Image without specifying width and height.
ImageCanvas(Image) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(Image, double, double) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(Image, int, int) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(String) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(String, double, double) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(String, int, int) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(URL) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(URL, double, double) - Constructor for class pnuts.awt.ImageCanvas
 
ImageCanvas(URL, int, int) - Constructor for class pnuts.awt.ImageCanvas
 
imageUpdate(Image, int, int, int, int, int) - Method in class pnuts.awt.ImageCanvas
 
IMPDEP1 - Static variable in interface pnuts.compiler.Opcode
 
IMPDEP2 - Static variable in interface pnuts.compiler.Opcode
 
implies(Permission) - Method in class pnuts.lang.PackagePermission
 
IMPORT - Static variable in class pnuts.lang.PnutsFunction
 
importedFunctions - Variable in class pnuts.lang.Context
 
importEnv - Variable in class pnuts.lang.Context
 
importEnv - Variable in class pnuts.lang.Function
"import" environment
IMUL - Static variable in interface pnuts.compiler.Opcode
 
includeLineNo(boolean) - Method in class pnuts.compiler.Compiler
 
includeLineNo(boolean) - Method in class pnuts.compiler.CompilerPnutsImpl
 
includeLineNo(boolean) - Method in class pnuts.ext.CachedPnutsImpl
 
includeMainMethod(boolean) - Method in class pnuts.compiler.Compiler
 
includeMainMethod(boolean) - Method in class pnuts.tools.PnutsCompiler
 
InclusiveOrExpression() - Method in class pnuts.lang.PnutsParser
 
Indexed - interface pnuts.lang.Indexed.
indexed[idx] ==> indexed.get(idx) indexed[idx] = value ==> indexed.set(idx, value)
indexNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
indexNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
indexNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
indexNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
INEG - Static variable in interface pnuts.compiler.Opcode
 
info - Variable in class pnuts.lang.SimpleNode
Used differently by visitors.
init() - Method in class pnuts.lang.Package
This method is called by the constructors.
init() - Method in class pnuts.ext.ProtectedPackage
This method is called by the constructors.
init() - Method in class pnuts.servlet.PnutsServlet
 
init(Context) - Method in class pnuts.lang.Package
This method is called when the package become the current package with package() function.
init(Context) - Method in class pnuts.ext.UnitSystem
 
init(Context) - Method in class pnuts.ext.ProtectedPackage
This method is called when this package become the current package.
initialize(Context) - Static method in class pnuts.ext.Complex
 
INSTANCEOF - Static variable in interface pnuts.lang.PnutsParserConstants
 
INSTANCEOF - Static variable in interface pnuts.compiler.Opcode
 
INSTANCEOF_QUICK - Static variable in interface pnuts.compiler.Opcode
 
InstanceofExpression() - Method in class pnuts.lang.PnutsParser
 
instanceofExpression(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
instanceofExpression(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
int_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
INTEGER_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
 
integerNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
integerNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
integerNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
integerNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
intValue() - Method in class pnuts.ext.Fraction
 
intValue() - Method in class pnuts.ext.Complex
 
invalidateLayout(Container) - Method in class pnuts.awt.PnutsLayout
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
inverse() - Method in interface pnuts.lang.Numeric
inverts itself
inverse() - Method in class pnuts.ext.Fraction
 
inverse() - Method in class pnuts.ext.Quantity
 
inverse() - Method in class pnuts.ext.Complex
 
inverse(Object) - Static method in class pnuts.lang.Arithmetic
 
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
 
invoke(String, Object[], Context) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
invoke(String, Object[], Context) - Method in class pnuts.ext.Prototype
 
invoke(String, Object[], Context) - Method in class pnuts.ext.PropertyAccessor
 
invoke(String, Object[], Context) - Method in class pnuts.ext.ScriptPackage
 
invoke(String, Object[], Context) - Method in class pnuts.ext.ScriptPackage.Function
Provides these methods:
invoke(String, Object[], Context) - Method in class pnuts.ext.DynamicClass.Instance
call a method
INVOKEINTERFACE - Static variable in interface pnuts.compiler.Opcode
 
INVOKEINTERFACE_QUICK - Static variable in interface pnuts.compiler.Opcode
 
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
 
ipadx - Variable in class pnuts.awt.PnutsLayout
default ipadx
ipady - Variable in class pnuts.awt.PnutsLayout
default ipady
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
isArray(Object) - Static method in class pnuts.awt.Layout
 
isBuiltin() - Method in class pnuts.lang.PnutsFunction
 
isBuiltin() - Method in class pnuts.ext.SynchronizedFunction
 
isCompiled(Object) - Static method in class pnuts.compiler.Compiler
Check if an object is compiled
isError() - Method in class pnuts.awt.ImageCanvas
 
ISHL - Static variable in interface pnuts.compiler.Opcode
 
ISHR - Static variable in interface pnuts.compiler.Opcode
 
isJava2() - Static method in class pnuts.lang.Pnuts
 
isSubTypeOf(DynamicClass) - Method in class pnuts.ext.DynamicClass
check if the type is subtype of the specified type
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() - Static method in class pnuts.lang.Pnuts
 
itemStateChanged(ItemEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
IUSHR - Static variable in interface pnuts.compiler.Opcode
 
IXOR - Static variable in interface pnuts.compiler.Opcode
 

J

JavaAdapter - class pnuts.compiler.JavaAdapter.
This class provides a way to extends a Java class in Pnuts.
JavaAdapter() - Constructor for class pnuts.compiler.JavaAdapter
 
jj_nt - Variable in class pnuts.lang.PnutsParser
 
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
 
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
 
JJTCATCHNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCHARACTERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCLASS - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTCONTINUE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTDIVIDENODE - 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
 
JJTFALSENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFLOATINGNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTFOREACHSTATEMENT - 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
 
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
 
JJTLOGEXORNODE - 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
 
JJTMEMBERNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMETHODNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMODNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTMULTNODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTNEGATIVENODE - 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
 
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
 
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
 
JJTTRUENODE - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTVOID - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JJTWHILESTATEMENT - Static variable in interface pnuts.lang.PnutsParserTreeConstants
 
JSR - Static variable in interface pnuts.compiler.Opcode
 
JSR_W - Static variable in interface pnuts.compiler.Opcode
 
Jump - exception pnuts.lang.Jump.
This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
Jump() - Constructor for class pnuts.lang.Jump
 
jump(Object) - Static method in class pnuts.lang.Runtime
 
Jump(Object) - Constructor for class pnuts.lang.Jump
 

K

keyPressed(KeyEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
keyPressed(KeyEvent) - Method in class pnuts.awt.DialogOutputStream
 
keyReleased(KeyEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
keyReleased(KeyEvent) - Method in class pnuts.awt.DialogOutputStream
 
keys() - Method in class pnuts.lang.Package
Returns an enumeration of the names in the package.
keys() - Method in class pnuts.lang.Context
Returns an enumeration of the keys in the environment of this context.
keyTyped(KeyEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
keyTyped(KeyEvent) - Method in class pnuts.awt.DialogOutputStream
 

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 pnuts.compiler.Label.
 
LADD - Static variable in interface pnuts.compiler.Opcode
 
LALOAD - Static variable in interface pnuts.compiler.Opcode
 
LAND - Static variable in interface pnuts.compiler.Opcode
 
LASTORE - Static variable in interface pnuts.compiler.Opcode
 
Layout - class pnuts.awt.Layout.
Manager class of Hierarchical Layout.
Layout() - Constructor for class pnuts.awt.Layout
 
layout(Container, Object[]) - Static method in class pnuts.awt.Layout
Layout components in the container using format fmt.
layout(Object[]) - Static method in class pnuts.awt.Layout
Layout components using format
layoutContainer(Container) - Method in class pnuts.awt.PnutsLayout
Lays out the container.
LayoutException - exception pnuts.awt.LayoutException.
Throws to indicate that there is an error in layout components
LayoutException() - Constructor for class pnuts.awt.LayoutException
 
LayoutException(String) - Constructor for class pnuts.awt.LayoutException
 
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
 
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
 
LDC2_W - Static variable in interface pnuts.compiler.Opcode
 
LDC2_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
 
LEFT - Static variable in class pnuts.lang.Arithmetic
 
LEFT - Static variable in class pnuts.awt.PnutsLayout
 
LEFT_IS_BIGGER - Static variable in class pnuts.lang.Arithmetic
 
LEFT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
 
leNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
leNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
leNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
leNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
LETTER - Static variable in interface pnuts.lang.PnutsParserConstants
 
lexStateNames - Static variable in class pnuts.lang.PnutsParserTokenManager
 
line - Variable in class pnuts.lang.PnutsException
 
LINE_UPDATED - Static variable in class pnuts.tools.CommandEvent
The event type which indicates line number has been changed.
List() - Method in class pnuts.lang.PnutsParser
 
ListElements() - Method in class pnuts.lang.PnutsParser
 
listElements(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
listElements(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
listElements(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
listElements(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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 - Static variable in class pnuts.lang.PnutsFunction
 
LOAD_FILE - Static variable in class pnuts.lang.PnutsFunction
 
load(InputStream) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by load(InputStream, Context)
load(InputStream, boolean, Context) - Static method in class pnuts.lang.Pnuts
Load a script from an InputStream in the specified Context.
load(InputStream, Context) - Static method in class pnuts.lang.Pnuts
load a script from InputStream "in" in "context"
load(Reader) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by load(Reader, Context)
load(Reader, boolean) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by load(Reader, boolean, Context)
load(Reader, boolean, Context) - Static method in class pnuts.lang.Pnuts
This method loads a script
load(Reader, Context) - Method in class pnuts.lang.PnutsImpl
 
load(Reader, Context) - Static method in class pnuts.lang.Pnuts
This method loads a script
load(String) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by load(String, Context)
load(String, Context) - Method in interface pnuts.lang.AutoloadHook
When a registered name is first accessed, this method of a corresponding AutoloadHook object is called.
load(String, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file using classloader
load(String, Context) - Static method in class pnuts.lang.Pnuts
load a script "file" in "context"
load(URL, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file from a URL
load(URL, Context) - Static method in class pnuts.lang.Pnuts
 
load(URL, Context) - Method in class pnuts.ext.CachedPnutsImpl
Load a script file from a URL
load(URL, Context) - Method in class pnuts.ext.SecurePnutsImpl
Load a script file from a URL
loadClass(String) - Static method in class pnuts.lang.Pnuts
Deprecated.  
loadClass(String, boolean) - Method in class pnuts.util.BytecodeClassLoader
load name class.
loadClass(String, boolean) - Method in class pnuts.ext.URLClassLoader
 
loadClass(String, Context) - Static method in class pnuts.lang.Pnuts
Loads the class with the specified name.
loadFile(String) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by loadFile(String, Context)
loadFile(String, Context) - Method in class pnuts.lang.PnutsImpl
Load a script file from local file system
loadFile(String, Context) - Static method in class pnuts.lang.Pnuts
load a local script "file" in "context"
loadingResource - Variable in class pnuts.lang.Context
 
loadLocal(int) - Method in class pnuts.compiler.ClassFile
 
Local() - Method in class pnuts.lang.PnutsParser
 
LocaleAdapter - class pnuts.util.LocaleAdapter.
Deprecated. This class is replaced by pnuts/lib/i18n.pnut. With Context.set() and Context.get(), the purpose of this class can be fulfilled in Pnuts.
LocaleAdapter() - Constructor for class pnuts.util.LocaleAdapter
Deprecated.  
LocaleAdapter(Locale) - Constructor for class pnuts.util.LocaleAdapter
Deprecated.  
locals - Variable in class pnuts.lang.Function
local parameters
lock() - Method in class pnuts.util.Mutex
Lock it Be careful not to deadlock.
logAndNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logAndNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logAndNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logAndNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
logExorNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logExorNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logExorNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logExorNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
logNotNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logNotNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logNotNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logNotNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
logOrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
logOrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
logOrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
logOrNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
long_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
longValue() - Method in class pnuts.ext.Fraction
 
longValue() - Method in class pnuts.ext.Complex
 
lookingAhead - Variable in class pnuts.lang.PnutsParser
 
lookup(String, Context) - Method in class pnuts.lang.Package
Lookup the symbol in the package.
lookup(String, Context) - Method in class pnuts.ext.ProtectedPackage
 
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
 
ltNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
ltNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
ltNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
ltNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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 - class pnuts.tools.Main.
The main class of "pnuts" command
Main() - Constructor for class pnuts.tools.Main
 
main(String[]) - Static method in class pnuts.lang.Pnuts
Deprecated.  
main(String[]) - Static method in class pnuts.tools.PnutsCompiler
 
main(String[]) - Static method in class pnuts.tools.Main
starts the command shell interpreter
main(String[]) - Static method in class pnuts.tools.PersonalServer
 
make(int, int) - Static method in class pnuts.ext.Fraction
 
make(Number, Number) - Static method in class pnuts.ext.Fraction
 
make(Number, String) - Method in interface pnuts.lang.QuantityFactory
 
make(Number, String) - Method in class pnuts.ext.UnitSystem
 
make(UnitSystem, Number, String) - Static method in class pnuts.ext.Quantity
 
makePanel(Container) - Static method in class pnuts.awt.Layout
 
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.
matchType(Class, Object) - Static method in class pnuts.lang.Runtime
 
maximumLayoutSize(Container) - Method in class pnuts.awt.PnutsLayout
Returns the maximum size of this component.
MemberNode() - Method in class pnuts.lang.PnutsParser
 
memberNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
memberNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
memberNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
memberNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
method(String, PnutsFunction) - Method in class pnuts.ext.DynamicClass
define a method
MethodNode() - Method in class pnuts.lang.PnutsParser
 
methodNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
methodNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
methodNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
methodNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
minimumLayoutSize(Container) - Method in class pnuts.awt.PnutsLayout
Returns the minimum dimensions needed to layout the components contained in the specified target container.
MINUS - Static variable in interface pnuts.lang.PnutsParserConstants
 
MOD - Static variable in class pnuts.lang.Arithmetic
 
mod(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
modNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
modNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
modNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
modNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
MONITORENTER - Static variable in interface pnuts.compiler.Opcode
 
MONITOREXIT - Static variable in interface pnuts.compiler.Opcode
 
mouseClicked(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mouseDragged(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mouseEntered(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mouseExited(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mouseMoved(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mousePressed(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
mouseReleased(MouseEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
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
 
MultiplicativeExpression() - Method in class pnuts.lang.PnutsParser
 
MULTIPLY - Static variable in class pnuts.lang.Arithmetic
 
multiply(Object) - Method in interface pnuts.lang.Numeric
multiplies itself with the value of parameter
multiply(Object) - Method in class pnuts.ext.Fraction
 
multiply(Object) - Method in class pnuts.ext.Quantity
 
multiply(Object) - Method in class pnuts.ext.Complex
 
multiply(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
multNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
multNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
multNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
multNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
Mutex - class pnuts.util.Mutex.
A simple mutex class
Mutex() - Constructor for class pnuts.util.Mutex
create mutex object
Mutex(boolean) - Constructor for class pnuts.util.Mutex
create mutex object

N

name - Variable in class pnuts.lang.Package
The name of the package.
name - Variable in class pnuts.lang.Function
name of the function without the scope information
namespaceRefreshed(Context) - Static method in class pnuts.lang.Runtime
 
nargs - Variable in class pnuts.lang.Function
the number of arguments
NE - Static variable in class pnuts.lang.Arithmetic
 
NE - Static variable in interface pnuts.lang.PnutsParserConstants
 
NEGATE - Static variable in class pnuts.lang.Arithmetic
 
negate() - Method in interface pnuts.lang.Numeric
negates itself by the value of parameter
negate() - Method in class pnuts.ext.Fraction
 
negate() - Method in class pnuts.ext.Quantity
 
negate() - Method in class pnuts.ext.Complex
 
negate(Object) - Static method in class pnuts.lang.Arithmetic
 
negativeNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
negativeNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
negativeNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
negativeNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
NEW - Static variable in interface pnuts.compiler.Opcode
 
NEW_QUICK - Static variable in interface pnuts.compiler.Opcode
 
NEWARRAY - Static variable in interface pnuts.compiler.Opcode
 
newInstance(Context, Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
This method is called by the syntax "clazz(args...)"
newInstance(Context, Class, Object[], Class[]) - Static method in class pnuts.compiler.DynamicRuntime
 
newPermissionCollection() - Method in class pnuts.lang.PackagePermission
 
NO_MATCH - Static variable in interface pnuts.lang.PnutsParserConstants
 
node - Variable in class pnuts.lang.Function
reference to the definition
nop - Static variable in class pnuts.ext.DynamicClass
 
NOP - Static variable in interface pnuts.compiler.Opcode
 
NOT - Static variable in class pnuts.lang.Arithmetic
 
NOT_EQUAL - Static variable in class pnuts.lang.Arithmetic
 
NOT_EQUAL - Static variable in interface pnuts.lang.Numeric
 
not(Object) - Static method in class pnuts.lang.Arithmetic
 
notEqNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
notEqNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
notEqNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
notEqNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
notNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
notNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
notNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
notNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
NULL - Static variable in interface pnuts.lang.PnutsParserConstants
 
NullLiteral() - Method in class pnuts.lang.PnutsParser
 
nullNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
nullNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
nullNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
nullNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
number() - Method in class pnuts.ext.Quantity
 
number(double) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
number(double, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
number(double, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
number(long) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
number(long, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
number(long, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
Numeric - interface pnuts.lang.Numeric.
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.
Opcode - interface pnuts.compiler.Opcode.
 
open(String) - Method in class pnuts.tools.VisualDebugger
 
open(String[]) - Method in class pnuts.lang.Context
 
open(String[]) - Method in class pnuts.tools.DebugContext
Tracks stack depth (function call) in pure interpreter
openConnection(URL) - Method in class pnuts.ext.jar.Handler
 
openMethod(String, String, short) - Method in class pnuts.compiler.ClassFile
 
OR - Static variable in class pnuts.lang.Arithmetic
 
or(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
orNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
orNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
orNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
orNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
outer - Variable in class pnuts.lang.Function
reference to the outer function

P

PA - Static variable in interface pnuts.lang.PnutsParserConstants
 
Package - class pnuts.lang.Package.
This class represents a Pnuts package (not Java's).
PACKAGE - Static variable in class pnuts.lang.PnutsFunction
 
Package() - Constructor for class pnuts.lang.Package
Creates a package that is not visible from other packages.
Package() - Method in class pnuts.lang.PnutsParser
 
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.
PackageFactory - interface pnuts.lang.PackageFactory.
When an instance of this interface is registered by Package::setPackageFactory() method, package() builtin function calls its createPackage() method.
PackagePermission - class pnuts.lang.PackagePermission.
This class represents access to a Package in Pnuts.
PackagePermission(String) - Constructor for class pnuts.lang.PackagePermission
 
PackagePermission(String, String) - Constructor for class pnuts.lang.PackagePermission
 
packages - Static variable in class pnuts.lang.Package
All packages with a non-null name
padx - Variable in class pnuts.awt.PnutsLayout
default padx
pady - Variable in class pnuts.awt.PnutsLayout
default pady
paint(Graphics) - Method in class pnuts.awt.ImageCanvas
 
Param() - Method in class pnuts.lang.PnutsParser
 
ParamList() - Method in class pnuts.lang.PnutsParser
 
parent - Variable in class pnuts.lang.SimpleNode
 
parent - Variable in class pnuts.lang.Package
 
parent - Variable in class pnuts.compiler.ClassFile
 
parse(InputStream) - Static method in class pnuts.lang.Pnuts
parse a script from InputStream and return a Pnuts object
parse(Reader) - 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
parse a script and return a Pnuts object
parseChar(String) - Static method in class pnuts.lang.Runtime
Parse a character literal.
ParseException - exception pnuts.lang.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class pnuts.lang.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class pnuts.lang.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class pnuts.lang.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
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.
parseQueryString(String, String) - Static method in class pnuts.servlet.URLEncoding
Parses a QUERY_STRING passed from the client to the server and build a Hashtable with key-value pairs.
parseString(String) - Static method in class pnuts.lang.Runtime
Parse a string literal.
percent(double) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
percent(double, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
percent(double, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
percent(long) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
percent(long, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
percent(long, int, int, int, int) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
PersonalServer - class pnuts.tools.PersonalServer.
This program is a network server which receives scripts sent by a local user program and executes the scripts.
PersonalServer() - Constructor for class pnuts.tools.PersonalServer
 
PersonalServer(int, String) - Constructor for class pnuts.tools.PersonalServer
 
pkg - Variable in class pnuts.lang.PnutsFunction
Deprecated.  
pkg - Variable in class pnuts.lang.Function
 
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 pnuts.lang.Pnuts.
"Manager" class for Pnuts interpreter.
"pnuts" command starts from main method of this class.
Annotated reference manual is here.
pnuts_version - Static variable in class pnuts.lang.Pnuts
 
pnuts.awt - package pnuts.awt
 
pnuts.compiler - package pnuts.compiler
 
pnuts.ext - package pnuts.ext
 
pnuts.ext.jar - package pnuts.ext.jar
 
pnuts.lang - package pnuts.lang
 
pnuts.servlet - package pnuts.servlet
 
pnuts.tools - package pnuts.tools
 
pnuts.util - package pnuts.util
 
Pnuts() - Constructor for class pnuts.lang.Pnuts
 
Pnuts(Reader) - Constructor for class pnuts.lang.Pnuts
 
Pnuts(Reader, boolean, Context) - Constructor for class pnuts.lang.Pnuts
Starts Pnuts interpreter.
PnutsBSFEngine - class pnuts.ext.PnutsBSFEngine.
This is the interface to Pnuts from Bean Scripting Framework.
PnutsBSFEngine() - Constructor for class pnuts.ext.PnutsBSFEngine
 
PnutsComparator - class pnuts.ext.PnutsComparator.
A comparison function based on Pnuts operators '<', '>', '==', '<=', and '>='.
PnutsComparator() - Constructor for class pnuts.ext.PnutsComparator
 
PnutsComparator(boolean) - Constructor for class pnuts.ext.PnutsComparator
 
PnutsCompiler - class pnuts.tools.PnutsCompiler.
A batch compiler for Pnuts.
PnutsCompiler() - Constructor for class pnuts.tools.PnutsCompiler
 
PnutsException - exception pnuts.lang.PnutsException.
This is a wrapper class for Exception to be thrown.
PnutsException() - Constructor for class pnuts.lang.PnutsException
 
PnutsException(String) - Constructor for class pnuts.lang.PnutsException
 
PnutsException(String, Context) - Constructor for class pnuts.lang.PnutsException
 
PnutsException(String, Object[], Context) - Constructor for class pnuts.lang.PnutsException
this constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(Throwable) - Constructor for class pnuts.lang.PnutsException
this constructor creates a PnutsException using i18n resources in pnuts.properties.
PnutsException(Throwable, Context) - Constructor for class pnuts.lang.PnutsException
 
PnutsFunction - class pnuts.lang.PnutsFunction.
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
 
PnutsImpl - class pnuts.lang.PnutsImpl.
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
 
PnutsInterpreter - class pnuts.lang.PnutsInterpreter.
The pure interpreter
PnutsInterpreter() - Constructor for class pnuts.lang.PnutsInterpreter
 
PnutsJspTag - class pnuts.servlet.PnutsJspTag.
JSP Tag Library for Pnuts
PnutsJspTag() - Constructor for class pnuts.servlet.PnutsJspTag
 
PnutsLayout - class pnuts.awt.PnutsLayout.
The PnutsLayout is a general purpose geometry manager.
PnutsLayout() - Constructor for class pnuts.awt.PnutsLayout
construct a PnutsLayout
PnutsLayout(int) - Constructor for class pnuts.awt.PnutsLayout
construct a PnutsLayout with specified number of columns
PnutsLayout(int, int, int) - Constructor for class pnuts.awt.PnutsLayout
construct a PnutsLayout
PnutsLayout(String) - Constructor for class pnuts.awt.PnutsLayout
 
PnutsLayoutMapping - class pnuts.awt.PnutsLayoutMapping.
PnutsLayout mapping of Hierarchical Layout.
PnutsLayoutMapping() - Constructor for class pnuts.awt.PnutsLayoutMapping
 
PnutsObjectInputStream - class pnuts.ext.PnutsObjectInputStream.
This class deserializes primitive date and objects.
PnutsObjectInputStream(InputStream, Context) - Constructor for class pnuts.ext.PnutsObjectInputStream
 
PnutsParser - class pnuts.lang.PnutsParser.
 
PnutsParser(Reader) - Constructor for class pnuts.lang.PnutsParser
 
PnutsParserConstants - interface pnuts.lang.PnutsParserConstants.
 
PnutsParserTokenManager - class pnuts.lang.PnutsParserTokenManager.
 
PnutsParserTokenManager(UCode_CharStream) - Constructor for class pnuts.lang.PnutsParserTokenManager
 
PnutsParserTokenManager(UCode_CharStream, int) - Constructor for class pnuts.lang.PnutsParserTokenManager
 
PnutsParserTreeConstants - interface pnuts.lang.PnutsParserTreeConstants.
 
PnutsServlet - class pnuts.servlet.PnutsServlet.
Servlet for Pnuts scripting
PnutsServlet() - Constructor for class pnuts.servlet.PnutsServlet
 
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 interface pnuts.lang.Visitor
 
postDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
postDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
postDecrNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
postIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
postIncrNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
PostOpe() - Method in class pnuts.lang.PnutsParser
 
POW - Static variable in class pnuts.lang.Arithmetic
 
pow(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
preDecrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
preDecrNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
preferredLayoutSize(Container) - Method in class pnuts.awt.PnutsLayout
Returns the preferred dimensions for this layout given the components in the specified target container.
preIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
preIncrNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
PrimaryExpression() - Method in class pnuts.lang.PnutsParser
 
PrimaryPrefix() - Method in class pnuts.lang.PnutsParser
 
PrimarySuffix() - 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"
primitives - Static variable in class pnuts.lang.PnutsFunction
 
primitiveTypes - Static variable in class pnuts.ext.DynamicClass
 
printError(Throwable, Context) - Static method in class pnuts.lang.Runtime
 
printStackTrace() - Method in class pnuts.lang.PnutsException
 
printStackTrace(PrintWriter) - Method in class pnuts.lang.PnutsException
 
prompt - Static variable in class pnuts.lang.Pnuts
"prompt" string for the command shell
Property - interface pnuts.lang.Property.
In Pnuts, access to a property of an object implements this interface causes a call of methods in this interface.
PropertyAccessor - class pnuts.ext.PropertyAccessor.
When a pnuts.lang.Property object has functions as its values, the functions can be called as follows.
PropertyAccessor(Property) - Constructor for class pnuts.ext.PropertyAccessor
 
ProtectedPackage - class pnuts.ext.ProtectedPackage.
This class is a variation of pnuts.lang.Package class.
ProtectedPackage.Factory - class pnuts.ext.ProtectedPackage.Factory.
 
ProtectedPackage.Factory() - Constructor for class pnuts.ext.ProtectedPackage.Factory
 
ProtectedPackage() - Constructor for class pnuts.ext.ProtectedPackage
 
ProtectedPackage(String) - Constructor for class pnuts.ext.ProtectedPackage
 
ProtectedPackage(String, Package) - Constructor for class pnuts.ext.ProtectedPackage
 
Prototype - class pnuts.ext.Prototype.
An implementation of prototype-based Inheritance, which is simillar to that of ECMAScript.
Prototype() - Constructor for class pnuts.ext.Prototype
 
Prototype(String) - Constructor for class pnuts.ext.Prototype
 
provideTable - Variable in class pnuts.lang.Context
 
push() - 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.
put(int, Function) - Method in class pnuts.lang.PnutsFunction
 
put(Object, Object) - Method in class pnuts.lang.Cache
Register key and its value into the cache.
put(Object, Object) - Method in class pnuts.ext.RefCache
 
PUTFIELD - 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
 
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
 
PUTSTATIC - Static variable in interface pnuts.compiler.Opcode
 
PUTSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
 
PUTSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
 
putStaticField(Context, Class, String, Object) - Static method in class pnuts.lang.Runtime
Assign an object to a static field.

Q

Quantity - class pnuts.ext.Quantity.
This class represents a quantity with a unit.
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 pnuts.lang.QuantityFactory.
A factory class for unit numbers.
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
 
range(Object, Number, Number, Context) - Static method in class pnuts.lang.Runtime
Range expression 'target[idx1..idx2]'
rangeNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
rangeNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
rangeNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
rangeNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
RBRACE - Static variable in interface pnuts.lang.PnutsParserConstants
 
RBRACKET - Static variable in interface pnuts.lang.PnutsParserConstants
 
readSymbolTable(SymbolTable, ObjectInputStream) - Static method in class pnuts.lang.Runtime
Read a hashtable from objectInputStream.
RefCache - class pnuts.ext.RefCache.
 
RefCache() - Constructor for class pnuts.ext.RefCache
 
register(PnutsFunction) - Method in class pnuts.lang.Function
 
registerLayoutManager(Class, Class) - Static method in class pnuts.awt.Layout
Register a Layout Mapping
registerQuantityFactory(String, QuantityFactory) - Method in class pnuts.lang.Context
Defines a unit.
ReInit(Reader) - Method in class pnuts.lang.PnutsParser
 
ReInit(UCode_CharStream) - Method in class pnuts.lang.PnutsParserTokenManager
 
ReInit(UCode_CharStream, int) - Method in class pnuts.lang.PnutsParserTokenManager
 
RelationalExpression() - Method in class pnuts.lang.PnutsParser
 
relativeName(String, String) - Static method in class pnuts.tools.PnutsCompiler
 
REM - Static variable in interface pnuts.lang.PnutsParserConstants
 
REMAINDER - Static variable in class pnuts.lang.Arithmetic
 
remainder(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
remove(String) - Static method in class pnuts.lang.Package
Removes the specified package.
remove(String) - Method in class pnuts.ext.DynamicClass
 
removeCommandListener(CommandListener) - Method in class pnuts.tools.DebugContext
 
removeLayoutComponent(Component) - Method in class pnuts.awt.PnutsLayout
Removes the specified component from the layout.
removeMethod(String) - Method in class pnuts.ext.DynamicClass
remove a method
removeVar(String) - Method in class pnuts.ext.DynamicClass
remove an attribute
REQUIRE - Static variable in class pnuts.lang.PnutsFunction
 
require(String, Context) - Static method in class pnuts.lang.Pnuts
load a script "file" only when the script has not been read.
reset() - Method in class pnuts.ext.CachedPnutsImpl
Reset the cache entries
resolve(Class) - Method in class pnuts.util.BytecodeClassLoader
 
resolveClass(ObjectStreamClass) - Method in class pnuts.ext.PnutsObjectInputStream
 
RET - Static variable in interface pnuts.compiler.Opcode
 
RETURN - Static variable in interface pnuts.lang.PnutsParserConstants
 
RETURN - Static variable in interface pnuts.compiler.Opcode
 
Return() - Method in class pnuts.lang.PnutsParser
 
returnNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
returnNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
returnNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
returnNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
RIGHT - Static variable in class pnuts.lang.Arithmetic
 
RIGHT - Static variable in class pnuts.awt.PnutsLayout
 
RIGHT_IS_BIGGER - Static variable in class pnuts.lang.Arithmetic
 
RIGHT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
 
rows - Variable in class pnuts.awt.PnutsLayout
The number of rows
RPAREN - Static variable in interface pnuts.lang.PnutsParserConstants
 
RSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
 
run() - Method in class pnuts.lang.Pnuts
Deprecated. Replaced by run(Context)
run() - Method in class pnuts.util.ThreadAdapter
 
run(Context) - Method in class pnuts.lang.Pnuts
executes a Pnuts object with the specified Context
RUNSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
 
Runtime - class pnuts.lang.Runtime.
This class provides runtime supports for Pnuts compiler/interpreter.
Runtime() - Constructor for class pnuts.lang.Runtime
 

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
 
save(OutputStream) - Method in class pnuts.lang.Package
Saves the package to an outputStream.
SC_AND - Static variable in interface pnuts.lang.PnutsParserConstants
 
SC_OR - Static variable in interface pnuts.lang.PnutsParserConstants
 
ScriptPackage - class pnuts.ext.ScriptPackage.
Package that is used in user's scripts as an hashtable.
ScriptPackage.Function - class pnuts.ext.ScriptPackage.Function.
Defines a special function to create script packages.
ScriptPackage.Function() - Constructor for class pnuts.ext.ScriptPackage.Function
 
ScriptPackage.Function(String) - Constructor for class pnuts.ext.ScriptPackage.Function
 
ScriptPackage.Function(String, Package) - Constructor for class pnuts.ext.ScriptPackage.Function
 
ScriptPackage() - Constructor for class pnuts.ext.ScriptPackage
 
ScriptPackage(String) - Constructor for class pnuts.ext.ScriptPackage
 
ScriptPackage(String, Package) - Constructor for class pnuts.ext.ScriptPackage
 
seal() - Method in class pnuts.util.BytecodeClassLoader
 
SecurePnutsImpl - class pnuts.ext.SecurePnutsImpl.
A PnutsImpl subclass that execute scripts in an access control context in Java2 Security.
SecurePnutsImpl(PnutsImpl) - Constructor for class pnuts.ext.SecurePnutsImpl
A Constructor
SecurePnutsImpl(PnutsImpl, CodeSource) - Constructor for class pnuts.ext.SecurePnutsImpl
A Constructor
SEMICOLON - Static variable in interface pnuts.lang.PnutsParserConstants
 
set(int, Object) - Method in interface pnuts.lang.Indexed
 
set(String, Object) - Method in class pnuts.lang.Context
Define an environemnt variable associated with this context
set(String, Object) - Static method in class pnuts.lang.Pnuts
set a value "val" to a global variable "str"
set(String, Object, Context) - Method in class pnuts.lang.Package
Set a value of a symbol in the package.
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.util.LocaleAdapter
Deprecated.  
set(String, Object, Context) - Method in class pnuts.ext.Prototype
 
set(String, Object, Context) - Method in class pnuts.ext.PropertyAccessor
 
set(String, Object, Context) - Method in class pnuts.ext.ScriptPackage.Function
Do nothing.
set(String, Object, Context) - Method in class pnuts.ext.ProtectedPackage
Set a value of a symbol in the package
set(String, Object, Context) - Method in class pnuts.ext.DynamicClass.Instance
assign a value to the specified variable
set(String, Object, String) - Static method in class pnuts.lang.Pnuts
set a value "val" to a variable "str" in package "pkg"
setBroken(SimpleNode, Object) - Static method in class pnuts.lang.PnutsInterpreter
 
setClassLoader(ClassLoader) - Method in class pnuts.lang.Context
 
setClassLoader(ClassLoader, Context) - Static method in class pnuts.lang.Pnuts
Deprecated. Replaced by Context.setClassLoader(ClassLoader)
setCols(int) - Method in class pnuts.awt.PnutsLayout
Set the number of columns
setColspan(Component, int) - Method in class pnuts.awt.PnutsLayout
 
setConstraints(Component, Hashtable) - Method in class pnuts.awt.PnutsLayout
Specify layout constraints with Hashtable
setConstraints(Component, String) - Method in class pnuts.awt.PnutsLayout
Specify layout constraints with comma-separated list of "=".
setContext(Context) - Method in class pnuts.ext.PnutsObjectInputStream
 
setContinued(SimpleNode) - Static method in class pnuts.lang.PnutsInterpreter
 
setCurrentPackage(Package) - Method in class pnuts.lang.Context
set the current package
setDebug(boolean) - Method in class pnuts.ext.PnutsBSFEngine
Turn on/off debugging output to System.err.
setDefault() - Static method in class pnuts.ext.ProtectedPackage
make this class the default class of packages
setErrorStream(Object) - Method in class pnuts.lang.Context
set an OutputStream or a Writer to which error() write message If errorStream is null, exception is thrown out of eval loop.
setErrorStream(Object, boolean) - Method in class pnuts.lang.Context
Set an OutputStream or a Writer to which error() write message If errorStream is null, exception is thrown out of eval loop.
setExpand(Component, String) - Method in class pnuts.awt.PnutsLayout
 
setHAlign(Component, String) - Method in class pnuts.awt.PnutsLayout
 
setIPadding(Component, int, int) - Method in class pnuts.awt.PnutsLayout
 
setLine(Context, int) - Static method in class pnuts.lang.Runtime
 
setLine(Context, int, int) - Static method in class pnuts.lang.Runtime
Set line number information for error reporting
setLoadPath(Object[]) - Static method in class pnuts.lang.Pnuts
Deprecated.  
setName(String) - Method in class pnuts.lang.Context
Sets the name of the context
setOutputStream(Object) - Method in class pnuts.lang.Context
 
setOutputStream(Object, boolean) - Method in class pnuts.lang.Context
set output stream of the context
setPackage(Package, Context) - Static method in class pnuts.lang.Runtime
 
setPackageFactory(PackageFactory) - Static method in class pnuts.lang.Package
When an instance of PackageFactory is registered by this method, the package() builtin function calls its PackageFactory.createPackage() method.
setPadding(Component, int, int) - Method in class pnuts.awt.PnutsLayout
 
setPnutsImpl(PnutsImpl) - Method in class pnuts.lang.Context
Changes the PnutsImpl object associated with this context
setPrecision(int) - Method in class pnuts.ext.UnitSystem
 
setPrompt(String) - Static method in class pnuts.lang.Pnuts
set a "prompt" string for the command shell
setRowspan(Component, int) - Method in class pnuts.awt.PnutsLayout
 
setSize(int, int) - Method in class pnuts.awt.DialogOutputStream
 
setTerminalStream(Object) - Method in class pnuts.lang.Context
 
setTerminalStream(Object, boolean) - Method in class pnuts.lang.Context
set terminal-output-stream of the context
setUniform(boolean, boolean) - Method in class pnuts.awt.PnutsLayout
set "uniform" property
setVAlign(Component, String) - Method in class pnuts.awt.PnutsLayout
 
setValue(String, Object) - Method in class pnuts.lang.Context
 
setVerbose(boolean) - Static method in class pnuts.lang.Pnuts
set verbose mode
setVerbose(boolean) - Method in class pnuts.compiler.ZipWriterHandler
 
setVerbose(boolean) - Method in class pnuts.compiler.FileWriterHandler
 
setVerbose(boolean) - Method in class pnuts.tools.PnutsCompiler
 
SHIFT_A - Static variable in class pnuts.lang.Arithmetic
 
SHIFT_L - Static variable in class pnuts.lang.Arithmetic
 
SHIFT_R - Static variable in class pnuts.lang.Arithmetic
 
shiftArithmetic(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
shiftArithmeticNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
ShiftExpression() - Method in class pnuts.lang.PnutsParser
 
shiftLeft(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
shiftLeftNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftLeftNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
shiftRight(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
shiftRightNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
shiftRightNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
short_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
 
signal(CommandEvent) - Method in class pnuts.tools.VisualDebugger
 
signal(CommandEvent) - Method in class pnuts.tools.TerminalDebugger
 
signal(CommandEvent) - Method in interface pnuts.tools.CommandListener
Some kind of event raised, e.g.
SimpleNode - class pnuts.lang.SimpleNode.
 
SINGLE_LINE_COMMENT - Static variable in interface pnuts.lang.PnutsParserConstants
 
SIPUSH - Static variable in interface pnuts.compiler.Opcode
 
size() - Method in class pnuts.lang.Package
 
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 class 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).
stackGrowth - Static variable in interface pnuts.compiler.Opcode
The effect on the operand stack of a given opcode.
STAR - Static variable in interface pnuts.lang.PnutsParserConstants
 
start() - Method in class pnuts.tools.PersonalServer
 
Start() - Method in class pnuts.lang.PnutsParser
 
start(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
start(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
start(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
start(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
startNodes - Variable in class pnuts.lang.Pnuts
parsed scripts
StartSet() - Method in class pnuts.lang.PnutsParser
 
startSet(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
startSet(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
startSet(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
startSet(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
StatementExpression() - Method in class pnuts.lang.PnutsParser
 
StaticMemberNode() - Method in class pnuts.lang.PnutsParser
 
staticMemberNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
staticMemberNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
StaticMethodNode() - Method in class pnuts.lang.PnutsParser
 
staticMethodNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
staticMethodNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
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 interface pnuts.lang.Visitor
 
stringNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
stringNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
stringNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
SUBTRACT - Static variable in class pnuts.lang.Arithmetic
 
subtract(Object) - Method in interface pnuts.lang.Numeric
subtracts the value of parameter from the object
subtract(Object) - Method in class pnuts.ext.Fraction
 
subtract(Object) - Method in class pnuts.ext.Quantity
 
subtract(Object) - Method in class pnuts.ext.Complex
 
subtract(Object, Object) - Static method in class pnuts.lang.Arithmetic
 
subtractNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
subtractNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
subtractNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
subtractNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
SWAP - Static variable in interface pnuts.compiler.Opcode
 
SWITCH - Static variable in interface pnuts.lang.PnutsParserConstants
 
SwitchBlock() - Method in class pnuts.lang.PnutsParser
 
switchBlock(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
switchBlock(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
switchBlock(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
switchBlock(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
SwitchLabel() - Method in class pnuts.lang.PnutsParser
 
SwitchStatement() - Method in class pnuts.lang.PnutsParser
 
switchStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
switchStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
switchStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
switchStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
SwitchTo(int) - Method in class pnuts.lang.PnutsParserTokenManager
 
sync() - Method in class pnuts.awt.ImageCanvas
 
SynchronizedFunction - class pnuts.ext.SynchronizedFunction.
 
SynchronizedFunction(PnutsFunction, Object) - Constructor for class pnuts.ext.SynchronizedFunction
 

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
 
table - Variable in class pnuts.lang.Package
 
TABLESWITCH - Static variable in interface pnuts.compiler.Opcode
 
TerminalDebugger - class pnuts.tools.TerminalDebugger.
This class implements a debugger for Pnuts interpreter.
TerminalDebugger() - Constructor for class pnuts.tools.TerminalDebugger
 
TerminalDebugger(Reader) - Constructor for class pnuts.tools.TerminalDebugger
 
TextAreaOutputStream - class pnuts.awt.TextAreaOutputStream.
Output stream to a TextArea
TextAreaOutputStream(TextArea) - Constructor for class pnuts.awt.TextAreaOutputStream
 
textValueChanged(TextEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
ThreadAdapter - class pnuts.util.ThreadAdapter.
An adapter class between PnutsFunction and Runnable
ThreadAdapter(PnutsFunction) - Constructor for class pnuts.util.ThreadAdapter
 
ThreadAdapter(PnutsFunction, Context) - Constructor for class pnuts.util.ThreadAdapter
 
THROW - Static variable in class pnuts.lang.PnutsFunction
 
throwable - Variable in class pnuts.lang.PnutsException
 
TILDE - Static variable in interface pnuts.lang.PnutsParserConstants
 
time() - Method in class pnuts.util.LocaleAdapter
Deprecated.  
time(Date) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
time(Date, String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
time(String) - Method in class pnuts.util.LocaleAdapter
Deprecated.  
toFront() - Method in class pnuts.awt.DialogOutputStream
 
token - Variable in class pnuts.lang.PnutsParser
 
token_source - Variable in class pnuts.lang.PnutsParser
 
tokenImage - Variable in class 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
 
TOP - Static variable in class pnuts.awt.PnutsLayout
 
toString() - Method in class pnuts.lang.Package
 
toString() - Method in class pnuts.lang.PnutsFunction
 
toString() - Method in class pnuts.lang.Function
 
toString() - Method in class pnuts.lang.PnutsException
 
toString() - Method in class pnuts.util.LocaleAdapter
Deprecated.  
toString() - Method in class pnuts.awt.PnutsLayout
 
toString() - Method in class pnuts.compiler.ClassFile
 
toString() - Method in class pnuts.ext.Prototype
 
toString() - Method in class pnuts.ext.SynchronizedFunction
 
toString() - Method in class pnuts.ext.PropertyAccessor
 
toString() - Method in class pnuts.ext.SecurePnutsImpl
 
toString() - Method in class pnuts.ext.Fraction
 
toString() - Method in class pnuts.ext.Quantity
 
toString() - Method in class pnuts.ext.ScriptPackage
 
toString() - Method in class pnuts.ext.Complex
 
toString() - Method in class pnuts.ext.DynamicClass
 
toString() - Method in class pnuts.ext.DynamicClass.Instance
 
trace - Variable in class pnuts.lang.PnutsException
 
transform(Class, Object) - Static method in class pnuts.lang.Runtime
Transform an array to a different array type.
TRUE - Static variable in interface pnuts.lang.PnutsParserConstants
 
trueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
trueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
trueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
trueNode(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
typeSpace - Static variable in class pnuts.ext.DynamicClass
 

U

unary(Object, int, Context) - Static method in class pnuts.lang.Runtime
Unary operation
UnaryExpression() - Method in class pnuts.lang.PnutsParser
 
UnaryExpressionNotPlusMinus() - Method in class pnuts.lang.PnutsParser
 
unbind(String, PnutsFunction) - Method in class pnuts.util.EventAdapter
Deprecated.  
undeclareBean(BSFDeclaredBean) - Method in class pnuts.ext.PnutsBSFEngine
Undeclare a previously declared bean.
undefinedHook(String) - Method in class pnuts.lang.Context
 
units() - Method in class pnuts.ext.Quantity
 
UnitSystem - class pnuts.ext.UnitSystem.
This class defines a unit system in Pnuts.
UnitSystem(String[], Number[], Context) - Constructor for class pnuts.ext.UnitSystem
 
unitTable - Variable in class pnuts.lang.Context
 
unlock() - Method in class pnuts.util.Mutex
Unlock it
unparse(Context) - Method in class pnuts.lang.Function
 
unparse(int) - Method in class pnuts.lang.PnutsFunction
Retrieve the symbolic definition of the function.
unparse(int) - Method in class pnuts.ext.SynchronizedFunction
 
UnparseVisitor - class pnuts.ext.UnparseVisitor.
This class is used to retrieve a textual representation of a script from parsed tree.
UnparseVisitor() - Constructor for class pnuts.ext.UnparseVisitor
 
UnparseVisitor(boolean) - Constructor for class pnuts.ext.UnparseVisitor
 
update(Graphics) - Method in class pnuts.awt.ImageCanvas
 
updateLine(SimpleNode) - Method in class pnuts.lang.Context
 
updateLine(SimpleNode, int, int) - Method in class pnuts.lang.Context
 
updateLine(SimpleNode, int, int) - Method in class pnuts.tools.DebugContext
This method is called when line number is changed.
URLClassLoader - class pnuts.ext.URLClassLoader.
This class is a subset of java.net.URLClassLoader.
URLClassLoader(URL[]) - Constructor for class pnuts.ext.URLClassLoader
 
URLClassLoader(URL[], ClassLoader) - Constructor for class pnuts.ext.URLClassLoader
 
URLClassLoader(URL[], ClassLoader, URLStreamHandlerFactory) - Constructor for class pnuts.ext.URLClassLoader
 
URLClassLoader(URL[], URLStreamHandlerFactory) - Constructor for class pnuts.ext.URLClassLoader
 
URLEncoding - class pnuts.servlet.URLEncoding.
A set of utility methods which are related to character encoding.
URLEncoding() - Constructor for class pnuts.servlet.URLEncoding
 
USE - Static variable in class pnuts.lang.PnutsFunction
 
usedPackage - Variable in class pnuts.lang.Context
 
usedPackages() - Method in class pnuts.lang.Context
Returns the list of use()'d packages
useDynamicProxy(boolean) - Method in class pnuts.compiler.Compiler
 
usePackage(String) - Method in class pnuts.lang.Context
Add a package to the use()'d package list.

V

V_FIT - Static variable in class pnuts.awt.PnutsLayout
 
value - Variable in class pnuts.lang.Pnuts
 
Value - interface pnuts.lang.Value.
Objects of this class are returned by Package.lookup() method.
var(String) - Method in class pnuts.ext.DynamicClass
declare an attribute of the Object class
var(String, Class) - Method in class pnuts.ext.DynamicClass
declare an attribute of the specified class
var(String, DynamicClass) - Method in class pnuts.ext.DynamicClass
declare an attribute of the specified type
Visitor - interface pnuts.lang.Visitor.
This is the interface of Visit operations for a syntax tree.
VisualDebugger - class pnuts.tools.VisualDebugger.
A visual debugger for Pnuts
VisualDebugger() - Constructor for class pnuts.tools.VisualDebugger
 

W

WHILE - Static variable in interface pnuts.lang.PnutsParserConstants
 
WhileStatement() - Method in class pnuts.lang.PnutsParser
 
whileStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
 
whileStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
 
whileStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
 
whileStatement(SimpleNode, Context) - Method in class pnuts.ext.UnparseVisitor
 
WIDE - Static variable in interface pnuts.compiler.Opcode
 
windowActivated(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowClosed(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowClosing(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowDeactivated(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowDeiconified(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowIconified(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
windowOpened(WindowEvent) - Method in class pnuts.util.EventAdapter
Deprecated.  
write(byte[], int, int) - Method in class pnuts.awt.TextAreaOutputStream
 
write(DataOutputStream) - Method in class pnuts.compiler.CompileContext
 
write(int) - Method in class pnuts.awt.TextAreaOutputStream
 
write(OutputStream) - Method in class pnuts.compiler.ClassFile
 
writeSymbolTable(SymbolTable, SymbolTable, ObjectOutputStream) - Static method in class pnuts.lang.Runtime
Write a hashtable to the objectOutputStream.

X

xfix - Variable in class pnuts.awt.PnutsLayout
 
XOR - Static variable in class pnuts.lang.Arithmetic
 
XOR - Static variable in interface pnuts.lang.PnutsParserConstants
 
xor(Object, Object) - Static method in class pnuts.lang.Arithmetic
 

Y

yfix - Variable in class pnuts.awt.PnutsLayout
 

Z

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

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