Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
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
_
A
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.
accept(int, Visitor, Context)
- Method in class pnuts.lang.
PnutsFunction
accept(SimpleNode, int, Context)
- Method in class pnuts.trans.
Translator
accept(Visitor, Context)
- Method in class pnuts.lang.
Function
accept(Visitor, Context)
- Method in class pnuts.lang.
SimpleNode
dispatch the instance to a Visitor
accept(Visitor, Context)
- Method in class pnuts.lang.
Pnuts
traverse the start nodes with the specified Visitor and Context
actionPerformed(ActionEvent)
- Method in class pnuts.awt.
DialogOutputStream
actionPerformed(ActionEvent)
- Method in class pnuts.util.
EventAdapter
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(Object)
- Method in interface pnuts.lang.
Numeric
adds the value of parameter to itself
add(Object)
- Method in class pnuts.ext.
Complex
add(Object)
- Method in class pnuts.ext.
Quantity
add(Object)
- Method in class pnuts.ext.
Fraction
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
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.ext.
UnparseVisitor
addNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
adjustmentValueChanged(AdjustmentEvent)
- Method in class pnuts.util.
EventAdapter
align
- Variable in class pnuts.awt.
PnutsLayout
default align
and(Object, Object)
- Static method in class pnuts.lang.
Arithmetic
andNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
andNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
andNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
applet
- Static variable in class pnuts.lang.
Pnuts
If Pnuts starts in applet this variable should be set.
applicationNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
applicationNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
applicationNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
Arithmetic
- class pnuts.lang.
Arithmetic
.
The Arithmetic class is geared for transparent multi-precision arithmetic operations.
Arithmetic()
- Constructor for class pnuts.lang.
Arithmetic
arrayType(Class, int)
- Static method in class pnuts.lang.
Runtime
arrayType(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
arrayType(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
arrayType(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignment(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignment(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignment(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentAA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentAA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentAA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentDA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentDA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentDA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentEA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentEA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentEA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentLA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentLA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentLA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentMA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentMA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentMA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentOA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentOA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentOA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentPA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentPA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentPA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentRA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentRA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentRA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentRAA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentRAA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentRAA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentSA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentSA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentSA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignmentTA(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
assignmentTA(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
assignmentTA(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
assignRange(Object, Number, Number, Object)
- Static method in class pnuts.lang.
Runtime
This method is called by the syntax "id[from..to] = sth"
attributeType(String)
- Method in class pnuts.ext.
DynamicClass
autoload(String, String)
- Static method in class pnuts.lang.
PnutsFunction
register "name" as an autoloaded function.
autoloadTable
- Variable in class pnuts.lang.
Package
This represents a set of names which are registered as autoloaded.
B
beginLine
- Variable in class pnuts.lang.
Context
beginLine
- Variable in class pnuts.lang.
SimpleNode
bind(String, PnutsFunction)
- Method in class pnuts.util.
EventAdapter
blockNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
blockNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
blockNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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
breakNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
breakNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
breakNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
C
call(Object[])
- Method in class pnuts.lang.
PnutsFunction
call a function with arguments "args"
call(Object[], Context)
- Method in class pnuts.lang.
Function
call(Object[], Context)
- Method in class pnuts.lang.
PnutsFunction
Call a function in "context" with arguments "args".
call(PnutsFunction, Object[], Context)
- Method in class pnuts.ext.
PnutsProxy
call(PnutsFunction, Object[], Context)
- Method in interface pnuts.ext.
IPnutsProxy
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[], Context)
- Method in class pnuts.ext.
PnutsProxy
call(String, Object[], Context)
- Method in interface pnuts.ext.
IPnutsProxy
call(String, Object[], String)
- Static method in class pnuts.lang.
PnutsFunction
call a function "pkg::name" with arguments "args"
callConstructor(Class, Object[])
- Static method in class pnuts.lang.
Runtime
Call a constructor
callConstructor(Class, Object[], Class[])
- Static method in class pnuts.lang.
Runtime
Call a constructor
callConstructor(Context, Class, Object[], Class[])
- Static method in class pnuts.lang.
Runtime
callFunction(Context, PnutsFunction, Object[])
- Static method in class pnuts.lang.
Runtime
callMethod(Class, String, Object[], Class[], Object)
- Static method in class pnuts.lang.
Runtime
Call a method
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
CardLayoutMapping
- class pnuts.awt.
CardLayoutMapping
.
CardLayout mapping of
Hierarchical Layout
.
CardLayoutMapping()
- Constructor for class pnuts.awt.
CardLayoutMapping
cast(Context, Class, Object, boolean)
- Static method in class pnuts.lang.
Runtime
This method is called by the syntax "(Class)object"
castExpression(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
castExpression(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
castExpression(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
CATCH
- Static variable in class pnuts.lang.
PnutsFunction
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
CENTER
- Static variable in class pnuts.awt.
PnutsLayout
characterNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
characterNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
characterNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
checkException(Context, Throwable)
- Static method in class pnuts.lang.
Runtime
checkException(Context, Throwable, Hashtable)
- Static method in class pnuts.lang.
Runtime
children
- Variable in class pnuts.lang.
SimpleNode
children
- Variable in class pnuts.lang.
Package
classes
- Variable in class pnuts.ext.
JarClassLoader
classNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
classNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
classNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
clear(String)
- Method in class pnuts.lang.
Package
Delete a symbol from the package
clear(String, Context)
- Method in class pnuts.lang.
Package
Delete a symbol from the package
clear(String, Context)
- Method in class pnuts.ext.
ProtectedPackage
Delete a symbol from the package
clear(String, Context)
- Method in class pnuts.ext.
PSEPackage
clone()
- Method in class pnuts.lang.
Context
Make a clone of the context
clone()
- Method in class pnuts.lang.
Package
clone()
- Method in class pnuts.ext.
Prototype
clone()
- Method in class pnuts.trans.
CompileContext
close()
- Method in class pnuts.awt.
TextAreaOutputStream
cols
- Variable in class pnuts.awt.
PnutsLayout
The number of columns
compareTo(Object)
- Method in interface pnuts.lang.
Numeric
compare the object with the parameter.
compareTo(Object)
- Method in class pnuts.ext.
Complex
compareTo(Object)
- Method in class pnuts.ext.
Quantity
compareTo(Object)
- Method in class pnuts.ext.
Fraction
compareTo(Object, Object)
- Static method in class pnuts.lang.
Arithmetic
CompileContext
- class pnuts.trans.
CompileContext
.
This class is used with pnuts.trans.Translator class to translate Pnuts scripts to a Java class.
CompileContext()
- Constructor for class pnuts.trans.
CompileContext
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
componentHidden(ComponentEvent)
- Method in class pnuts.util.
EventAdapter
componentMoved(ComponentEvent)
- Method in class pnuts.util.
EventAdapter
componentRemoved(ContainerEvent)
- Method in class pnuts.util.
EventAdapter
componentResized(ComponentEvent)
- Method in class pnuts.util.
EventAdapter
componentShown(ComponentEvent)
- Method in class pnuts.util.
EventAdapter
Context
- class pnuts.lang.
Context
.
Context
represents an internal state in Pnuts runtime environment.
Context()
- Constructor for class pnuts.lang.
Context
Create a new context
Context(Package)
- Constructor for class pnuts.lang.
Context
Creates a context.
Context(String)
- Constructor for class pnuts.lang.
Context
Creates a context.
contextName
- Variable in class pnuts.lang.
PnutsException
continueNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
continueNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
continueNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
createContainer(Container, Object[])
- Method in class pnuts.awt.
Layout
Define how to make a container.
createContainer(Container, Object[])
- Method in class pnuts.awt.
GridBagLayoutMapping
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.
CardLayoutMapping
createContainer(Container, Object[])
- Method in class pnuts.awt.
FlowLayoutMapping
createContainer(Container, Object[])
- Method in class pnuts.awt.
BorderLayoutMapping
createPackage(String)
- Method in interface pnuts.lang.
PackageFactory
createPackage(String)
- Method in class pnuts.ext.
ProtectedPackage.Factory
createPackage(String)
- Method in class pnuts.ext.
PSEPackage.Factory
currency(double)
- Method in class pnuts.util.
LocaleAdapter
currency(double, int)
- Method in class pnuts.util.
LocaleAdapter
currency(double, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
currency(long)
- Method in class pnuts.util.
LocaleAdapter
currency(long, int)
- Method in class pnuts.util.
LocaleAdapter
currency(long, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
currentToken
- Variable in class pnuts.lang.
ParseException
This is the last token that has been consumed successfully.
D
date()
- Method in class pnuts.util.
LocaleAdapter
date(Date)
- Method in class pnuts.util.
LocaleAdapter
date(Date, String)
- Method in class pnuts.util.
LocaleAdapter
date(String)
- Method in class pnuts.util.
LocaleAdapter
datetime()
- Method in class pnuts.util.
LocaleAdapter
datetime(Date)
- Method in class pnuts.util.
LocaleAdapter
datetime(Date, String, String)
- Method in class pnuts.util.
LocaleAdapter
datetime(String)
- Method in class pnuts.util.
LocaleAdapter
datetime(String, String)
- Method in class pnuts.util.
LocaleAdapter
declare(String, DynamicClass)
- Static method in class pnuts.ext.
DynamicClass
Declare a type which behaves as a "class".
DefaultClassLoader
- class pnuts.util.
DefaultClassLoader
.
A concrete ClassLoader.
DefaultClassLoader()
- Constructor for class pnuts.util.
DefaultClassLoader
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.
DefaultClassLoader
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(String)
- Method in class pnuts.lang.
Context
defined(String)
- Method in class pnuts.lang.
Package
defined(String, Context)
- Method in class pnuts.lang.
Package
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
dispatch(String, AWTEvent)
- Method in class pnuts.util.
EventAdapter
divide(Object)
- Method in interface pnuts.lang.
Numeric
divides itself by the value of parameter
divide(Object)
- Method in class pnuts.ext.
Complex
divide(Object)
- Method in class pnuts.ext.
Quantity
divide(Object)
- Method in class pnuts.ext.
Fraction
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.ext.
UnparseVisitor
divideNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
doReturn(Object)
- Static method in class pnuts.lang.
Runtime
doubleValue()
- Method in class pnuts.ext.
Complex
doubleValue()
- Method in class pnuts.ext.
Fraction
dump(String)
- Method in class pnuts.lang.
SimpleNode
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
E
elements()
- Method in class pnuts.lang.
Package
enumerates sub-packages
eol
- Variable in class pnuts.lang.
ParseException
The end of line string for this machine.
EQUAL
- Static variable in class pnuts.lang.
Arithmetic
EQUAL
- Static variable in interface pnuts.lang.
Numeric
equalNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
equalNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
equalNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
EVAL
- Static variable in class pnuts.lang.
PnutsFunction
eval(String)
- Static method in class pnuts.lang.
Pnuts
evaluate "str" in the global package
eval(String)
- Method in class pnuts.ext.
PnutsClient
eval(String, Context)
- Static method in class pnuts.lang.
Pnuts
evaluate "str" in "context"
eval(String, Context)
- Method in class pnuts.ext.
PnutsClient
eval(String, Context)
- Method in class pnuts.ext.
PnutsProxy
eval(String, Context)
- Method in interface pnuts.ext.
IPnutsProxy
eval(String, String)
- Static method in class pnuts.lang.
Pnuts
evaluate "str" in package "pkg"
evalDepth()
- Static method in class pnuts.lang.
Pnuts
returns the depth of evaluations
EventAdapter
- class pnuts.util.
EventAdapter
.
An adapter class for AWT events.
EventAdapter()
- Constructor for class pnuts.util.
EventAdapter
EventAdapter(Context)
- Constructor for class pnuts.util.
EventAdapter
exec(Object[], Context)
- Method in class pnuts.lang.
Function
exec(Object[], Context)
- Method in class pnuts.lang.
PnutsFunction
Call a function in "context" with arguments "args".
exec(Object[], Context)
- Method in class pnuts.ext.
Prototype
exec(Object[], Context)
- Method in class pnuts.ext.
DynamicClass
expectedTokenSequences
- Variable in class pnuts.lang.
ParseException
Each entry in this array is an array of integers.
export(String, Context)
- Method in class pnuts.ext.
ProtectedPackage
exports
- Variable in class pnuts.ext.
ProtectedPackage
expressionList(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
expressionList(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
expressionList(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
expressionList(SimpleNode, Context, char)
- Method in class pnuts.ext.
UnparseVisitor
F
falseNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
falseNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
falseNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
file
- Variable in class pnuts.lang.
PnutsException
file
- Variable in class pnuts.lang.
Function
file name in which this function is defined
finalize()
- Method in class pnuts.ext.
PSEPackage
find(String)
- Static method in class pnuts.lang.
Package
findClass(String)
- Method in class pnuts.util.
DefaultClassLoader
Find
name
class out of already loaded classes.
floatingNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
floatingNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
floatingNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
floatValue()
- Method in class pnuts.ext.
Complex
floatValue()
- Method in class pnuts.ext.
Fraction
FlowLayoutMapping
- class pnuts.awt.
FlowLayoutMapping
.
FlowLayout mapping of
Hierarchical Layout
.
FlowLayoutMapping()
- Constructor for class pnuts.awt.
FlowLayoutMapping
flush()
- Method in class pnuts.awt.
DialogOutputStream
focusGained(FocusEvent)
- Method in class pnuts.util.
EventAdapter
focusLost(FocusEvent)
- Method in class pnuts.util.
EventAdapter
foreachStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
foreachStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
foreachStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
format(Object)
- Static method in class pnuts.lang.
Pnuts
returns a formatted string for obj
forStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
forStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
forStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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
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()
- Constructor for class pnuts.lang.
Function
Function(String, String[], int, SimpleNode, Package, Context)
- Constructor for class pnuts.lang.
Function
functionStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
functionStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
functionStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
G
gcd(Object, Object)
- Static method in class pnuts.lang.
Arithmetic
geNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
geNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
geNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
GET_CONTEXT
- Static variable in class pnuts.lang.
PnutsFunction
get()
- Method in interface pnuts.lang.
Value
get(int)
- Method in interface pnuts.lang.
Indexed
get(int)
- Method in class pnuts.lang.
PnutsFunction
get(String)
- Method in class pnuts.util.
LocaleAdapter
get(String)
- Method in class pnuts.lang.
Context
get(String)
- Static method in class pnuts.lang.
Pnuts
get(String)
- Method in interface pnuts.lang.
Property
This method defines the behavior of the following expression.
get(String)
- Method in class pnuts.lang.
Package
get(String)
- Method in class pnuts.ext.
Prototype
get(String)
- Method in class pnuts.ext.
DynamicClass.Instance
get a value of the specified variable
get(String, Context)
- Method in class pnuts.lang.
Package
Get the value of a symbol in the package.
get(String, String)
- Static method in class pnuts.lang.
Pnuts
getAttributes()
- Method in class pnuts.ext.
DynamicClass
getClassLoader()
- Static method in class pnuts.lang.
Pnuts
get ClassLoader for class access
getCols()
- Method in class pnuts.awt.
PnutsLayout
Get the number of columns
getColspan(Component)
- Method in class pnuts.awt.
PnutsLayout
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
getDenominator()
- Method in class pnuts.ext.
Fraction
getErrorStream()
- Method in class pnuts.lang.
Context
Get an OutputStream or a Writer to which error() write message
getExpand(Component)
- Method in class pnuts.awt.
PnutsLayout
getField(Context, Object, String)
- Static method in class pnuts.lang.
Runtime
getFile()
- Method in class pnuts.lang.
Function
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()
- Method in class pnuts.lang.
PnutsFunction
getId(String)
- Method in class pnuts.lang.
Context
getImaginary()
- Method in class pnuts.ext.
Complex
getImportEnv(int)
- Method in class pnuts.lang.
PnutsFunction
getIndex(Object, int, Context)
- Static method in class pnuts.lang.
Runtime
getInterpreter()
- Static method in class pnuts.lang.
Runtime
getIPadX(Component)
- Method in class pnuts.awt.
PnutsLayout
getIPadY(Component)
- Method in class pnuts.awt.
PnutsLayout
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.
getLoader(Object)
- Static method in class pnuts.ext.
JarClassLoader
getLocale()
- Method in class pnuts.util.
LocaleAdapter
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.
Context
getName()
- Method in class pnuts.lang.
Function
getName()
- Method in class pnuts.lang.
Package
getName()
- Method in class pnuts.lang.
PnutsFunction
getName()
- Method in class pnuts.ext.
DynamicClass
get the name of type
getNodes(Pnuts)
- Static method in class pnuts.lang.
Runtime
getNumerator()
- Method in class pnuts.ext.
Fraction
getOutputStream()
- Method in class pnuts.lang.
Context
get output stream of the context
getPackage(int)
- Method in class pnuts.lang.
PnutsFunction
getPackage(String)
- Static method in class pnuts.lang.
Package
If package "pkg" exists returns that, otherwise creates and returns one.
getPadX(Component)
- Method in class pnuts.awt.
PnutsLayout
getPadY(Component)
- Method in class pnuts.awt.
PnutsLayout
getPreferredSize()
- Method in class pnuts.awt.
ImageCanvas
getReal()
- Method in class pnuts.ext.
Complex
getResource(String)
- Method in class pnuts.ext.
JarClassLoader
URL scheme for a resource in a JAR file is:
getResourceAsStream(String)
- Method in class pnuts.ext.
JarClassLoader
Get an InputStream on a given resource.
getRows()
- Method in class pnuts.awt.
PnutsLayout
get the number of rows
getRowspan(Component)
- Method in class pnuts.awt.
PnutsLayout
getSize()
- Method in class pnuts.awt.
DialogOutputStream
getStaticField(Context, Class, String)
- Static method in class pnuts.lang.
Runtime
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
getUniform()
- Method in class pnuts.awt.
PnutsLayout
get "uniform" property
getVAlign(Component)
- Method in class pnuts.awt.
PnutsLayout
global(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
global(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
global(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
globalPackage
- Static variable in class pnuts.lang.
Package
The package with name "".
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
gtNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
gtNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
gtNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
H
H_FIT
- Static variable in class pnuts.awt.
PnutsLayout
I
id
- Variable in class pnuts.lang.
SimpleNode
idNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
idNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
idNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
ifStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
ifStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
ifStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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
IMPORT
- Static variable in class pnuts.lang.
PnutsFunction
importEnv
- Variable in class pnuts.lang.
Context
importEnv
- Variable in class pnuts.lang.
Function
"import" environment
includeLineNo(boolean)
- Method in class pnuts.trans.
Translator
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.ext.
UnparseVisitor
indexNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
info
- Variable in class pnuts.lang.
SimpleNode
Used differently by visitors.
init()
- Method in class pnuts.lang.
Function
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.ext.
UnitSystem
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.
ProtectedPackage
This method is called when this package become the current package.
instanceofExpression(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
instanceofExpression(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
instanceofExpression(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
integerNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
integerNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
integerNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
interpreter
- Static variable in class pnuts.lang.
Pnuts
intValue()
- Method in class pnuts.ext.
Complex
intValue()
- Method in class pnuts.ext.
Fraction
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.
Complex
inverse()
- Method in class pnuts.ext.
Quantity
inverse()
- Method in class pnuts.ext.
Fraction
inverse(Object)
- Static method in class pnuts.lang.
Arithmetic
invoke(String, Object[])
- Method in class pnuts.util.
LocaleAdapter
invoke(String, Object[])
- Method in interface pnuts.lang.
AbstractData
invoke(String, Object[])
- Method in class pnuts.ext.
Prototype
invoke(String, Object[])
- Method in class pnuts.ext.
DynamicClass.Instance
call a method
ipadx
- Variable in class pnuts.awt.
PnutsLayout
default ipadx
ipady
- Variable in class pnuts.awt.
PnutsLayout
default ipady
IPnutsProxy
- interface pnuts.ext.
IPnutsProxy
.
This interface is used as an instance variable of PnutsClient.
isArray(Object)
- Static method in class pnuts.awt.
Layout
isArray(Object)
- Static method in class pnuts.lang.
Runtime
Check if the parameter is an array
isBuiltin()
- Method in class pnuts.lang.
PnutsFunction
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
isVerbose()
- Static method in class pnuts.lang.
Pnuts
itemStateChanged(ItemEvent)
- Method in class pnuts.util.
EventAdapter
J
JarClassLoader
- class pnuts.ext.
JarClassLoader
.
This classloader can read JAR files dynamically.
JarClassLoader()
- Constructor for class pnuts.ext.
JarClassLoader
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
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
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
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)
- Constructor for class pnuts.lang.
Jump
K
keyPressed(KeyEvent)
- Method in class pnuts.awt.
DialogOutputStream
keyPressed(KeyEvent)
- Method in class pnuts.util.
EventAdapter
keyReleased(KeyEvent)
- Method in class pnuts.awt.
DialogOutputStream
keyReleased(KeyEvent)
- Method in class pnuts.util.
EventAdapter
keys()
- Method in class pnuts.lang.
Package
Returns an enumeration of the names in the package.
keys()
- Method in class pnuts.ext.
PSEPackage
keyTyped(KeyEvent)
- Method in class pnuts.awt.
DialogOutputStream
keyTyped(KeyEvent)
- Method in class pnuts.util.
EventAdapter
L
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
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.ext.
UnparseVisitor
leNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
line
- Variable in class pnuts.lang.
PnutsException
listElements(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
listElements(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
listElements(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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
load a script from InputStream "in"
load(InputStream)
- Method in class pnuts.ext.
PnutsClient
load a script from InputStream "in"
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(InputStream, Context)
- Method in class pnuts.ext.
PnutsClient
load a script from InputStream "in" in "context"
load(InputStream, Context)
- Method in class pnuts.ext.
PnutsProxy
load(InputStream, Context)
- Method in interface pnuts.ext.
IPnutsProxy
load(Reader)
- Static method in class pnuts.lang.
Pnuts
load a script from Reader "reader"
load(Reader)
- Method in class pnuts.ext.
PnutsClient
load(Reader, boolean)
- Static method in class pnuts.lang.
Pnuts
load(Reader, boolean, Context)
- Static method in class pnuts.lang.
Pnuts
Load a script from an Reader in the specified Context.
load(Reader, Context)
- Static method in class pnuts.lang.
Pnuts
load a script from Reader "reader" in context
load(Reader, Context)
- Method in class pnuts.ext.
PnutsClient
load(Reader, Context)
- Method in class pnuts.ext.
PnutsProxy
load(Reader, Context)
- Method in interface pnuts.ext.
IPnutsProxy
load(String)
- Static method in class pnuts.lang.
Pnuts
load a script "file"
load(String, Context)
- Static method in class pnuts.lang.
Pnuts
load a script "file" in "context"
load(String, Context)
- Method in class pnuts.ext.
PnutsProxy
load(String, Context)
- Method in interface pnuts.ext.
IPnutsProxy
load(URL)
- Static method in class pnuts.ext.
PnutsClient
Executes a script at the specified URL
load(URL, Context)
- Static method in class pnuts.ext.
PnutsClient
Executes a script at the specified URL
loadClass(String)
- Static method in class pnuts.lang.
Pnuts
loadClass(String, boolean)
- Method in class pnuts.util.
DefaultClassLoader
load
name
class.
loadClass(String, boolean)
- Method in class pnuts.ext.
JarClassLoader
Resolves the specified name to a Class.
loadFile(String)
- Static method in class pnuts.lang.
Pnuts
load a local script "file"
loadFile(String, Context)
- Static method in class pnuts.lang.
Pnuts
load a local script "file" in "context"
loadFile(String, Context)
- Method in class pnuts.ext.
PnutsProxy
loadFile(String, Context)
- Method in interface pnuts.ext.
IPnutsProxy
loadingResource
- Variable in class pnuts.lang.
Context
loadJar(String)
- Method in class pnuts.ext.
JarClassLoader
Load a JAR file specified with the filename.
loadJar(URL)
- Method in class pnuts.ext.
JarClassLoader
Load a JAR file from the specified URL.
loadJar(ZipFile)
- Method in class pnuts.ext.
JarClassLoader
loadJar(ZipInputStream)
- Method in class pnuts.ext.
JarClassLoader
Load a JAR file through ZipInputStream.
LocaleAdapter
- class pnuts.util.
LocaleAdapter
.
A locale related utility class for Pnuts
LocaleAdapter()
- Constructor for class pnuts.util.
LocaleAdapter
LocaleAdapter(Locale)
- Constructor for class pnuts.util.
LocaleAdapter
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.ext.
UnparseVisitor
logAndNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
logExorNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
logExorNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
logExorNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
logNotNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
logNotNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
logNotNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
logOrNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
logOrNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
logOrNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
longValue()
- Method in class pnuts.ext.
Complex
longValue()
- Method in class pnuts.ext.
Fraction
lookup(String, Context)
- Method in class pnuts.lang.
Package
lookup the symbol in the package
lookup(String, Context)
- Method in class pnuts.ext.
ProtectedPackage
lookup(String, Context)
- Method in class pnuts.ext.
PSEPackage
ltNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
ltNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
ltNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
M
main(String[])
- Static method in class pnuts.lang.
Pnuts
starts the command shell interpreter
main(String[])
- Static method in class pnuts.ext.
PnutsClient
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
ManualContext
- class pnuts.lang.
ManualContext
.
This class represents a runtime context of the interpretation.
ManualContext()
- Constructor for class pnuts.lang.
ManualContext
ManualContext(Package)
- Constructor for class pnuts.lang.
ManualContext
ManualContext(String)
- Constructor for class pnuts.lang.
ManualContext
maximumLayoutSize(Container)
- Method in class pnuts.awt.
PnutsLayout
Returns the maximum size of this component.
memberNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
memberNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
memberNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
method(String, PnutsFunction)
- Method in class pnuts.ext.
DynamicClass
define a method
methodNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
methodNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
methodNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
minimumLayoutSize(Container)
- Method in class pnuts.awt.
PnutsLayout
Returns the minimum dimensions needed to layout the components contained in the specified target container.
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.ext.
UnparseVisitor
modNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
mouseClicked(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mouseDragged(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mouseEntered(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mouseExited(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mouseMoved(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mousePressed(MouseEvent)
- Method in class pnuts.util.
EventAdapter
mouseReleased(MouseEvent)
- Method in class pnuts.util.
EventAdapter
multiply(Object)
- Method in interface pnuts.lang.
Numeric
multiplies itself with the value of parameter
multiply(Object)
- Method in class pnuts.ext.
Complex
multiply(Object)
- Method in class pnuts.ext.
Quantity
multiply(Object)
- Method in class pnuts.ext.
Fraction
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.ext.
UnparseVisitor
multNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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.
Function
name of the function without the scope information
name
- Variable in class pnuts.lang.
Package
The name of the package.
nargs
- Variable in class pnuts.lang.
Function
the number of arguments
negate()
- Method in interface pnuts.lang.
Numeric
negates itself by the value of parameter
negate()
- Method in class pnuts.ext.
Complex
negate()
- Method in class pnuts.ext.
Quantity
negate()
- Method in class pnuts.ext.
Fraction
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.ext.
UnparseVisitor
negativeNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
newInstance(Context, Class, Object[], Class[])
- Static method in class pnuts.lang.
Runtime
node
- Variable in class pnuts.lang.
Function
reference to the definition
nop
- Static variable in class pnuts.ext.
DynamicClass
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.ext.
UnparseVisitor
notEqNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
notNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
notNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
notNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
nullNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
nullNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
nullNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
number()
- Method in class pnuts.ext.
Quantity
number(double)
- Method in class pnuts.util.
LocaleAdapter
number(double, int)
- Method in class pnuts.util.
LocaleAdapter
number(double, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
number(long)
- Method in class pnuts.util.
LocaleAdapter
number(long, int)
- Method in class pnuts.util.
LocaleAdapter
number(long, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
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
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.ext.
UnparseVisitor
orNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
outer
- Variable in class pnuts.lang.
Function
reference to the outer function
P
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(String)
- 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.
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
parent
- Variable in class pnuts.lang.
SimpleNode
parent
- Variable in class pnuts.lang.
Package
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
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
[Number number, int offset_of_unit_symbol]
parseInt(String)
- Static method in class pnuts.lang.
Runtime
[Number number, int offset_of_unit_symbol]
parseString(String)
- Static method in class pnuts.lang.
Runtime
percent(double)
- Method in class pnuts.util.
LocaleAdapter
percent(double, int)
- Method in class pnuts.util.
LocaleAdapter
percent(double, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
percent(long)
- Method in class pnuts.util.
LocaleAdapter
percent(long, int)
- Method in class pnuts.util.
LocaleAdapter
percent(long, int, int, int, int)
- Method in class pnuts.util.
LocaleAdapter
pkg
- Variable in class pnuts.lang.
Function
pkgName
- Variable in class pnuts.lang.
Function
the package name in which this function is defined
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.awt
- package pnuts.awt
pnuts.ext
- package pnuts.ext
pnuts.lang
- package pnuts.lang
pnuts.trans
- package pnuts.trans
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.
PnutsClient
- class pnuts.ext.
PnutsClient
.
This class is a sample implementation of a secure script environment based on jdk1.2 security.
PnutsClient()
- Constructor for class pnuts.ext.
PnutsClient
PnutsClient(URL)
- Constructor for class pnuts.ext.
PnutsClient
Creates a PnutsClient object.
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
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
PnutsParserTreeConstants
- interface pnuts.lang.
PnutsParserTreeConstants
.
PnutsProxy
- class pnuts.ext.
PnutsProxy
.
This class provides a concrete implementation of IPnutsProxy.
PnutsProxy()
- Constructor for class pnuts.ext.
PnutsProxy
postDecrNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
postDecrNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
postDecrNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
postIncrNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
postIncrNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
postIncrNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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.ext.
UnparseVisitor
preDecrNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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.ext.
UnparseVisitor
preIncrNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
primitive_names
- Static variable in class pnuts.lang.
PnutsFunction
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
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.
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
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
PSEPackage
- class pnuts.ext.
PSEPackage
.
This class is a persisnt Package class.
PSEPackage.Factory
- class pnuts.ext.
PSEPackage.Factory
.
PSEPackage.Factory()
- Constructor for class pnuts.ext.
PSEPackage.Factory
PSEPackage(String)
- Constructor for class pnuts.ext.
PSEPackage
creates a persistent package
PSEPackage(String, boolean)
- Constructor for class pnuts.ext.
PSEPackage
creates a persistent package
PSEPackage(String, String)
- Constructor for class pnuts.ext.
PSEPackage
creates a persistent package
PSEPackage(String, String, boolean)
- Constructor for class pnuts.ext.
PSEPackage
creates a persistent package
put(int, Function)
- Method in class pnuts.lang.
PnutsFunction
putField(Context, Object, String, Object)
- Static method in class pnuts.lang.
Runtime
putStaticField(Context, Class, String, Object)
- Static method in class pnuts.lang.
Runtime
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
QuantityFactory
- interface pnuts.lang.
QuantityFactory
.
A factory class for unit numbers.
QUIT
- Static variable in class pnuts.lang.
PnutsFunction
R
rangeNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
rangeNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
rangeNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
readSymbolTable(SymbolTable, ObjectInputStream)
- Static method in class pnuts.lang.
Runtime
Read a hashtable from objectInputStream.
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)
- Static method in class pnuts.lang.
Pnuts
registerQuantityFactory(String, QuantityFactory)
- Static method in class pnuts.lang.
Package
remainder(Object, Object)
- Static method in class pnuts.lang.
Arithmetic
remove(String)
- Static method in class pnuts.lang.
Package
Remove the specified package
remove(String)
- Method in class pnuts.ext.
DynamicClass
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(String)
- Static method in class pnuts.lang.
Pnuts
load a script "file" only when the script has not been read.
requireTable
- Variable in class pnuts.lang.
Package
This represents a set of loaded script names.
reset()
- Static method in class pnuts.lang.
Package
Remove all packages
resources
- Variable in class pnuts.ext.
JarClassLoader
returnNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
returnNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
returnNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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
run()
- Method in class pnuts.util.
ThreadAdapter
run()
- Method in class pnuts.lang.
Pnuts
executes a Pnuts object with a new Context
run(Context)
- Method in class pnuts.lang.
Pnuts
executes a Pnuts object with the specified Context
run(Pnuts, Context)
- Method in class pnuts.ext.
PnutsProxy
run(Pnuts, Context)
- Method in interface pnuts.ext.
IPnutsProxy
Runtime
- class pnuts.lang.
Runtime
.
This class provides runtime supports for Pnuts compiler/interpreter.
Runtime()
- Constructor for class pnuts.lang.
Runtime
S
save(OutputStream)
- Method in class pnuts.lang.
Package
save the package to an outputStream.
set(int, Object)
- Method in interface pnuts.lang.
Indexed
set(String, Object)
- Method in class pnuts.util.
LocaleAdapter
set(String, Object)
- Method in class pnuts.lang.
Context
set(String, Object)
- Static method in class pnuts.lang.
Pnuts
set a value "val" to a global variable "str"
set(String, Object)
- Method in interface pnuts.lang.
Property
This method defines the behavior of the following expression.
set(String, Object)
- Method in class pnuts.lang.
Package
Set a value of a symbol in the package.
set(String, Object)
- Method in class pnuts.ext.
Prototype
set(String, Object)
- Method in class pnuts.ext.
DynamicClass.Instance
assign a value to the specified variable
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 class pnuts.ext.
ProtectedPackage
Set a value of a symbol in the package
set(String, Object, Context)
- Method in class pnuts.ext.
PSEPackage
set(String, Object, String)
- Static method in class pnuts.lang.
Pnuts
set a value "val" to a variable "str" in package "pkg"
setClassLoader(ClassLoader)
- Static method in class pnuts.lang.
Pnuts
set ClassLoader for class access
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 "
=
".
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
setInterpreter(Visitor)
- Static method in class pnuts.lang.
Runtime
setIPadding(Component, int, int)
- Method in class pnuts.awt.
PnutsLayout
setLine(Context, int)
- Static method in class pnuts.lang.
Runtime
Set line number information for error reporting
setLoadPath(Object[])
- Static method in class pnuts.lang.
Pnuts
set a search path for scripts as an object array Elements of the array should one of the followings.
setLoadPath(String)
- Static method in class pnuts.lang.
Pnuts
set a search path for scripts as a colon-separated String This method remains for compatibility reason.
setName(String)
- Method in class pnuts.lang.
Context
setOutputStream(Object)
- Method in class pnuts.lang.
Context
setOutputStream(Object, boolean)
- Method in class pnuts.lang.
Context
set output stream of the context
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
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
setVerbose(boolean)
- Static method in class pnuts.lang.
Pnuts
set verbose mode
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.ext.
UnparseVisitor
shiftArithmeticNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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.ext.
UnparseVisitor
shiftLeftNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
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.ext.
UnparseVisitor
shiftRightNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
SimpleNode
- class pnuts.lang.
SimpleNode
.
size()
- Method in class pnuts.lang.
Package
the number of symbols
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).
start(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
start(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
start(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
startNodes
- Variable in class pnuts.lang.
Pnuts
parsed scripts
startSet(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
startSet(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
startSet(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
staticMemberNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
staticMemberNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
staticMemberNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
staticMethodNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
staticMethodNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
staticMethodNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
str
- Variable in class pnuts.lang.
SimpleNode
stringNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
stringNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
stringNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
subtract(Object)
- Method in interface pnuts.lang.
Numeric
subtracts the value of parameter from the object
subtract(Object)
- Method in class pnuts.ext.
Complex
subtract(Object)
- Method in class pnuts.ext.
Quantity
subtract(Object)
- Method in class pnuts.ext.
Fraction
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.ext.
UnparseVisitor
subtractNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
switchBlock(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
switchBlock(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
switchBlock(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
switchStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
switchStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
switchStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
sync()
- Method in class pnuts.awt.
ImageCanvas
T
table
- Variable in class pnuts.lang.
Package
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
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
time()
- Method in class pnuts.util.
LocaleAdapter
time(Date)
- Method in class pnuts.util.
LocaleAdapter
time(Date, String)
- Method in class pnuts.util.
LocaleAdapter
time(String)
- Method in class pnuts.util.
LocaleAdapter
toFront()
- Method in class pnuts.awt.
DialogOutputStream
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.
TOP
- Static variable in class pnuts.awt.
PnutsLayout
toString()
- Method in class pnuts.awt.
PnutsLayout
toString()
- Method in class pnuts.util.
LocaleAdapter
toString()
- Method in class pnuts.lang.
PnutsException
toString()
- Method in class pnuts.lang.
Function
toString()
- Method in class pnuts.lang.
SimpleNode
toString()
- Method in class pnuts.lang.
Package
toString()
- Method in class pnuts.lang.
PnutsFunction
toString()
- Method in class pnuts.ext.
Prototype
toString()
- Method in class pnuts.ext.
Complex
toString()
- Method in class pnuts.ext.
Quantity
toString()
- Method in class pnuts.ext.
Fraction
toString()
- Method in class pnuts.ext.
DynamicClass
toString()
- Method in class pnuts.ext.
DynamicClass.Instance
toString(String)
- Method in class pnuts.lang.
SimpleNode
trace
- Variable in class pnuts.lang.
PnutsException
Translator
- class pnuts.trans.
Translator
.
Pnuts to Java translator
Translator()
- Constructor for class pnuts.trans.
Translator
Translator(String)
- Constructor for class pnuts.trans.
Translator
trueNode(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
trueNode(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
trueNode(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
typeSpace
- Static variable in class pnuts.ext.
DynamicClass
U
unbind(String, PnutsFunction)
- Method in class pnuts.util.
EventAdapter
units()
- Method in class pnuts.ext.
Quantity
UnitSystem
- class pnuts.ext.
UnitSystem
.
This class defines a unit system in Pnuts.
UnitSystem(String[], Number[])
- Constructor for class pnuts.ext.
UnitSystem
unitTable
- Variable in class pnuts.lang.
Package
This represents a set of registered QuantityFactory.
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 a function.
UnparseVisitor
- class pnuts.ext.
UnparseVisitor
.
UnparseVisitor()
- Constructor for class pnuts.ext.
UnparseVisitor
UnparseVisitor(boolean)
- Constructor for class pnuts.ext.
UnparseVisitor
update(Graphics)
- Method in class pnuts.awt.
ImageCanvas
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.
W
whileStatement(SimpleNode, Context)
- Method in interface pnuts.lang.
Visitor
whileStatement(SimpleNode, Context)
- Method in class pnuts.ext.
UnparseVisitor
whileStatement(SimpleNode, Context)
- Method in class pnuts.trans.
Translator
windowActivated(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowClosed(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowClosing(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowDeactivated(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowDeiconified(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowIconified(WindowEvent)
- Method in class pnuts.util.
EventAdapter
windowOpened(WindowEvent)
- Method in class pnuts.util.
EventAdapter
write(byte[], int, int)
- Method in class pnuts.awt.
TextAreaOutputStream
write(int)
- Method in class pnuts.awt.
TextAreaOutputStream
writeSymbolTable(SymbolTable, SymbolTable, ObjectOutputStream)
- Static method in class pnuts.lang.
Runtime
Write a hashtable to the objectOutputStream.
writeTo(Writer)
- Method in class pnuts.trans.
CompileContext
X
xfix
- Variable in class pnuts.awt.
PnutsLayout
xor(Object, Object)
- Static method in class pnuts.lang.
Arithmetic
Y
yfix
- Variable in class pnuts.awt.
PnutsLayout
_
_getId(String)
- Method in class pnuts.lang.
Context
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
_
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES