- CachedPnutsImpl - Class in pnuts.ext
-
PnutsImpl which caches parsed (compiled) scripts and reuse them.
- CachedPnutsImpl() - Constructor for class pnuts.ext.CachedPnutsImpl
-
- CachedPnutsImpl(boolean) - Constructor for class pnuts.ext.CachedPnutsImpl
-
- CachedPnutsImpl(boolean, boolean, boolean) - Constructor for class pnuts.ext.CachedPnutsImpl
-
- CachedPnutsImpl(boolean, boolean, boolean, Cache) - Constructor for class pnuts.ext.CachedPnutsImpl
-
- CachedPnutsImpl.ScriptCacheEntry - Class in pnuts.ext
-
- CachedPnutsImpl.ScriptCacheEntry() - Constructor for class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
-
- CachedScript - Class in pnuts.ext
-
Executable script that is automatically recompiled
- CachedScript(URL) - Constructor for class pnuts.ext.CachedScript
-
Constructor
- CachedScript(URL, String, Context) - Constructor for class pnuts.ext.CachedScript
-
Constructor
- call(Object[], Context) - Method in interface pnuts.lang.Callable
-
Executes the callable object
- call(Object[], Context) - Method in class pnuts.lang.PnutsFunction
-
Call a function in "context" with arguments "args".
- call(String, Object[], Context) - Static method in class pnuts.lang.PnutsFunction
-
call a function "name" in "context" with arguments "args"
- call(Context, Object, Object[], Class[]) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "funcOrClass(args...)"
- call(Context, Object, Object[], Class[], int, int) - Static method in class pnuts.lang.Runtime
-
- Callable - Interface in pnuts.lang
-
Callable object can be the target of function call expression.
- callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.ext.ConfigurationAdapter
-
Call a constructor.
- callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.Configuration
-
Calls a constructor
- callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.JavaBeansConfiguration
-
Calls a constructor
- callConstructor(Context, Class, Object[], Class[]) - Static method in class pnuts.lang.Runtime
-
Call a constructor
- callFunction(Context, PnutsFunction, Object[]) - Static method in class pnuts.lang.Runtime
-
Call a function
- callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Call a method.
- callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.ext.NonPublicMemberAccessor
-
- callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.Configuration
-
Calls a method
- callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.JavaBeansConfiguration
-
Calls a method
- callMethod(Context, Class, String, Object[], Class[], Object) - Static method in class pnuts.lang.Runtime
-
Call a method
- CALOAD - Static variable in interface pnuts.compiler.Opcode
-
- CASE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- cast(Context, Class, Object, boolean) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "(Class)object"
- castExpression(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- castExpression(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- castExpression(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- CastExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- castExpression(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- CastLookAhead() - Method in class pnuts.lang.PnutsParser
-
- CASTORE - Static variable in interface pnuts.compiler.Opcode
-
- CATCH - Static variable in class pnuts.lang.PnutsFunction
-
- CATCH - Static variable in interface pnuts.lang.PnutsParserConstants
-
- catchBlock(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- catchBlock(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- catchBlock(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- CatchBlock(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- catchBlock(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- catchException(Class, PnutsFunction, Context) - Static method in class pnuts.lang.Runtime
-
This method is called when catch() function is called in a
package(non-local) scope
- catchNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- catchNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- catchNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- CatchNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- catchNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- char_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
-
- CHAR_SYMBOL - Static variable in class pnuts.lang.Runtime
-
- CHARACTER_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
-
- characterNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- characterNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- characterNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- characterNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- CHECKCAST - Static variable in interface pnuts.compiler.Opcode
-
- CHECKCAST_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- checkException(Context, Throwable) - Static method in class pnuts.lang.Runtime
-
- checkException(Context, Throwable, Runtime.TypeMap) - Static method in class pnuts.lang.Runtime
-
Check if any exception handler is registered to the specified exception.
- children - Variable in class pnuts.lang.SimpleNode
-
- CLASS - Static variable in class pnuts.lang.PnutsFunction
-
- Class() - Method in class pnuts.lang.PnutsParser
-
- CLASS - Static variable in interface pnuts.lang.PnutsParserConstants
-
- classDef(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- classDef(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- classDef(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ClassDef(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- classDef(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- classDefBody(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- classDefBody(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- classDefBody(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ClassDefBody(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- classDefBody(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- ClassExpr(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- ClassFile - Class in pnuts.compiler
-
This class provides a way of making Java class file image.
- ClassFile(String, String, String, short) - Constructor for class pnuts.compiler.ClassFile
-
- ClassFileException - Exception in pnuts.compiler
-
- ClassFileException() - Constructor for exception pnuts.compiler.ClassFileException
-
- ClassFileException(String) - Constructor for exception pnuts.compiler.ClassFileException
-
- ClassFileHandler - Interface in pnuts.compiler
-
This interface defines an abstract interface to get a result of compilation.
- ClassGenerator - Class in pnuts.compiler
-
- ClassGenerator() - Constructor for class pnuts.compiler.ClassGenerator
-
- ClassGenerator.SuperCallProxy - Class in pnuts.compiler
-
- ClassGenerator.SuperCallProxy(Object) - Constructor for class pnuts.compiler.ClassGenerator.SuperCallProxy
-
- className(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- className(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- className(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ClassName() - Method in class pnuts.lang.PnutsParser
-
- className(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- classNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- classNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- classNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- classNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- classScript(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- classScript(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- classScript(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ClassScript(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- classScript(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- clear(String, Context) - Method in class pnuts.lang.Package
-
Deletes a symbol from the package.
- clear(String, Context) - Method in class pnuts.security.SecurePackage
-
- clearAction - Static variable in class pnuts.tools.VisualDebuggerView
-
- clearBreakPoints() - Method in interface pnuts.tools.Debugger
-
Remove all breakpoints
- clearBreakPoints() - Method in class pnuts.tools.TerminalDebugger
-
- clearBreakPoints() - Method in class pnuts.tools.VisualDebugger
-
- clearBreakPoints() - Method in class pnuts.tools.VisualDebuggerModel
-
- clearPackages() - Method in class pnuts.lang.Context
-
Unregisteres all use()'d packages
- clone() - Method in class pnuts.lang.Context
-
Make a clone of the context
- clone(boolean, boolean) - Method in class pnuts.lang.Context
-
Make a clone of the context
- clone() - Method in class pnuts.lang.Package
-
Returns a clone package.
- clone() - Method in class pnuts.lang.PnutsFunction
-
- CLONE - Static variable in class pnuts.lang.Runtime
-
- clone() - Method in class pnuts.lang.SimpleNode
-
- clone(boolean, boolean, boolean) - Method in class pnuts.tools.DebugContext
-
- close(Function, Object[]) - Method in class pnuts.lang.Context
-
- close() - Method in interface pnuts.tools.ConsoleUI
-
- close(Function, Object[]) - Method in class pnuts.tools.DebugContext
-
Tracks stack depth (function return) in pure interpreter.
- close() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- close() - Method in class pnuts.tools.PnutsConsole
-
- close() - Method in class pnuts.tools.PnutsConsoleUI
-
- CLOSE_FRAME - Static variable in class pnuts.tools.CommandEvent
-
The event type which indicates a function returned.
- closeAction - Static variable in class pnuts.tools.VisualDebuggerView
-
- closeMethod() - Method in class pnuts.compiler.ClassFile
-
- Closure(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- CLOSURE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- codeSize() - Method in class pnuts.compiler.ClassFile
-
- COLON - Static variable in interface pnuts.lang.PnutsParserConstants
-
- COLON2 - Static variable in interface pnuts.lang.PnutsParserConstants
-
- column - Variable in exception pnuts.lang.PnutsException
-
- COMMA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- COMMAND_HEADER - Static variable in interface pnuts.lang.PnutsParserConstants
-
- CommandEvent - Class in pnuts.tools
-
Event object which is created by DebugContext to communicate with a debugger.
- CommandEvent(Context, int, Object) - Constructor for class pnuts.tools.CommandEvent
-
Constructor
- CommandListener - Interface in pnuts.tools
-
- compareObjects(Object, Object) - Static method in class pnuts.lang.Runtime
-
Compare two objects
Elements of List and array are recursively compared.
- compareTo(Object) - Method in interface pnuts.lang.Numeric
-
Compares the object with the parameter.
- compareTo(Object, Object) - Static method in class pnuts.lang.Runtime
-
Compares n1 with n2
- compareTo(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- compile(Pnuts, ClassFileHandler) - Method in class pnuts.compiler.Compiler
-
Compile a parsed expression.
- compile(Pnuts, Context) - Method in class pnuts.compiler.Compiler
-
Compile a parsed expression.
- compile(String) - Method in class pnuts.compiler.Compiler
-
Compile an expression.
- compile(String, Context) - Method in class pnuts.compiler.Compiler
-
Compile an expression.
- compile(PnutsFunction, ClassFileHandler) - Method in class pnuts.compiler.Compiler
-
Compile a function group.
- compile(PnutsFunction) - Method in class pnuts.compiler.Compiler
-
Compile a function group
- compile(PnutsFunction, Context) - Method in class pnuts.compiler.Compiler
-
Compile a function group
- compileClassScript(SimpleNode, Object, List) - Method in class pnuts.compiler.Compiler
-
- compileClassScript(Reader, Object, ClassFileHandler) - Method in class pnuts.compiler.Compiler
-
- Compiled - Interface in pnuts.compiler
-
This interface serves to identify classes which are generated by Compiler.
- Compiler - Class in pnuts.compiler
-
Pnuts to JVM bytecode compiler
- Compiler() - Constructor for class pnuts.compiler.Compiler
-
- Compiler(String) - Constructor for class pnuts.compiler.Compiler
-
- Compiler(String, boolean) - Constructor for class pnuts.compiler.Compiler
-
- Compiler(String, boolean, boolean) - Constructor for class pnuts.compiler.Compiler
-
- CompilerPnutsImpl - Class in pnuts.compiler
-
A subclass of PnutsImpl that always compiles scripts.
- CompilerPnutsImpl() - Constructor for class pnuts.compiler.CompilerPnutsImpl
-
- CompilerPnutsImpl(boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
-
- CompilerPnutsImpl(boolean, boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
-
- CompilerPnutsImpl(boolean, boolean, boolean) - Constructor for class pnuts.compiler.CompilerPnutsImpl
-
- compileToFile(Pnuts, String, File) - Method in class pnuts.tools.PnutsCompiler
-
Compile a parsed expression and save the compiled code to class files.
- compileToFile(File, String[], String[], String[], String, String, String) - Method in class pnuts.tools.PnutsCompiler
-
Compile Pnuts scripts and save the generated code into class files.
- compileToZip(Pnuts, String, ZipOutputStream) - Method in class pnuts.tools.PnutsCompiler
-
Compile a parsed expression and save the compiled code to a Zip file
- compileToZip(ZipOutputStream, String[], String[], String[], String, String, String) - Method in class pnuts.tools.PnutsCompiler
-
Compile Pnuts scripts and save the generated code into a ZIP file.
- CompositePackage - Class in pnuts.ext
-
Composed hierarchical names space based on a Package.
- CompositePackage() - Constructor for class pnuts.ext.CompositePackage
-
- CompositePackage(Package) - Constructor for class pnuts.ext.CompositePackage
-
Constructor
- compressNumber(Number) - Static method in class pnuts.lang.BinaryOperator
-
- ConditionalAndExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- ConditionalExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- ConditionalOrExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- config - Variable in class pnuts.lang.Function
-
- Configuration - Class in pnuts.lang
-
This class defines the interface of runtime configuration, such as how to
find method/field candidates, how to get the field value, how to get indexed
elements, and so on.
- Configuration() - Constructor for class pnuts.lang.Configuration
-
- ConfigurationAdapter - Class in pnuts.ext
-
- ConfigurationAdapter() - Constructor for class pnuts.ext.ConfigurationAdapter
-
Constructor
- ConfigurationAdapter(Configuration) - Constructor for class pnuts.ext.ConfigurationAdapter
-
Constructor
- Console - Class in pnuts.tools
-
General purpose Console
- Console() - Constructor for class pnuts.tools.Console
-
Constructor
- ConsoleUI - Interface in pnuts.tools
-
- CONSTANT_Class - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Double - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Fieldref - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Float - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Integer - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_InterfaceMethodref - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Long - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Methodref - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_NameAndType - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_String - Static variable in interface pnuts.compiler.Constants
-
- CONSTANT_Utf8 - Static variable in interface pnuts.compiler.Constants
-
- Constants - Interface in pnuts.compiler
-
- constructor(ClassFile, Class, Compiler, Context, List, List, int) - Static method in class pnuts.compiler.ClassGenerator
-
- contAction - Static variable in class pnuts.tools.VisualDebuggerView
-
- Context - Class in pnuts.lang
-
Context represents an internal state of a particular script
execution.
- Context() - Constructor for class pnuts.lang.Context
-
Create a new context
- Context(String) - Constructor for class pnuts.lang.Context
-
Creates a context.
- Context(Package) - Constructor for class pnuts.lang.Context
-
Creates a context.
- Context(Context) - Constructor for class pnuts.lang.Context
-
Creates a context from a template
- Context(Properties) - Constructor for class pnuts.lang.Context
-
- ContextEvent - Class in pnuts.tools
-
- ContextEvent(Object) - Constructor for class pnuts.tools.ContextEvent
-
- ContextFactory - Interface in pnuts.tools
-
Factory for Context object
- ContextListener - Interface in pnuts.tools
-
- contextName - Variable in exception pnuts.lang.PnutsException
-
- Continue() - Method in class pnuts.lang.PnutsParser
-
- CONTINUE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- continueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- continueNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- continueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- continueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- convertYield(SimpleNode, String) - Static method in class pnuts.lang.Generator
-
- createCache() - Static method in class pnuts.ext.CachedPnutsImpl
-
- createClassFile(String, Class, Class[], int) - Static method in class pnuts.compiler.ClassGenerator
-
- createClassLoader(Context) - Static method in class pnuts.lang.Pnuts
-
Create a classloader that can compile scripted classes
with the current thread's context classloader as its parent classloader
- createClassLoader(Context, ClassLoader) - Static method in class pnuts.lang.Pnuts
-
Create a classloader that can compile scripted classes
- createCodeLoader(ClassLoader) - Static method in class pnuts.compiler.Compiler
-
- createConsole(Context, String) - Method in class pnuts.tools.PnutsConsoleUI
-
- createConsole() - Method in class pnuts.tools.PnutsConsoleUI
-
- createConsole(String[], Context, ClassLoader, String, boolean, Runnable, int) - Method in class pnuts.tools.PnutsConsoleUI
-
- createContext() - Method in interface pnuts.tools.ContextFactory
-
Create a context
- createContext() - Method in class pnuts.tools.TerminalDebugger
-
- createContext(Context) - Method in class pnuts.tools.VisualDebugger
-
- createContext() - Method in class pnuts.tools.VisualDebugger
-
- createList() - Method in class pnuts.lang.Configuration
-
- createList(Context) - Static method in class pnuts.lang.Runtime
-
- createMap(int, Context) - Method in class pnuts.ext.ConfigurationAdapter
-
Create a new Map object that corresponds to {key=>value} expression.
- createMap(int, Context) - Method in class pnuts.lang.Configuration
-
Create a new Map object that corresponds to {key=>value} expression.
- createMap(int, Context) - Static method in class pnuts.lang.Runtime
-
- createMenu(String) - Method in class pnuts.tools.VisualDebuggerView
-
Create a menu for the app.
- createMenubar() - Method in class pnuts.tools.VisualDebuggerView
-
Create the menubar for the app.
- createMenuItem(String) - Method in class pnuts.tools.VisualDebuggerView
-
Create a menu item for the specified command
- createPackage(String, Package) - Method in interface pnuts.lang.PackageFactory
-
- createPackage(String, Package) - Method in class pnuts.security.SecurePackageFactory
-
- createTextArea() - Method in class pnuts.tools.VisualDebuggerView
-
Create an editor to represent the given document.
- createTextComponent() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- createToolbarButton(String) - Method in class pnuts.tools.VisualDebuggerView
-
Create a button to go inside of the toolbar.
- curChar - Variable in class pnuts.lang.PnutsParserTokenManager
-
- currentToken - Variable in exception pnuts.lang.ParseException
-
This is the last token that has been consumed successfully.
- GE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- ge(Object, Object) - Static method in class pnuts.lang.Runtime
-
>= operation
- ge(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- generateGetter(ClassFile, String, Class, String) - Static method in class pnuts.compiler.Compiler
-
- generateMainClass(String, String, String[], String[], String) - Static method in class pnuts.tools.PnutsCompiler
-
public class mainClassName extends Runtime {
public Object run(Context ctx){
ctx.usePackage(module1);
...
- generateParseException() - Method in class pnuts.lang.PnutsParser
-
- generateSetter(ClassFile, String, Class, String) - Static method in class pnuts.compiler.Compiler
-
- Generator - Class in pnuts.lang
-
- Generator() - Constructor for class pnuts.lang.Generator
-
- Generator(PnutsFunction) - Constructor for class pnuts.lang.Generator
-
- Generator.Break - Exception in pnuts.lang
-
- Generator.Break(Object) - Constructor for exception pnuts.lang.Generator.Break
-
- geNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- geNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- geNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- geNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- get(String, Context) - Method in class pnuts.compiler.ClassGenerator.SuperCallProxy
-
- get(String) - Method in class pnuts.lang.Context
-
Gets an environemnt variable associated with this context.
- get(int) - Method in interface pnuts.lang.Indexed
-
Read access to the index
- get(String, Context) - Method in class pnuts.lang.Package
-
Get the value of a symbol in the package.
- get(String) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by Context.getCurrentPackage().get(str.intern())
- get(String, String) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by Package.getPackage(pkg, null).get(str)
- get(int) - Method in class pnuts.lang.PnutsFunction
-
- get(String, Context) - Method in interface pnuts.lang.Property
-
This method defines the behavior of the following expression.
- get() - Method in interface pnuts.lang.Value
-
Gets the value.
- GET_CONTEXT - Static variable in class pnuts.lang.PnutsFunction
-
- getActions() - Method in class pnuts.security.PackagePermission
-
- getArg() - Method in class pnuts.tools.CommandEvent
-
Get the optional argument
- getArguments() - Method in class pnuts.lang.PnutsException.TraceInfo
-
The actual arguments of the function call
- getArrayLength(Object) - Static method in class pnuts.lang.Runtime
-
Gets an array's length
- getAttribute(String) - Method in class pnuts.lang.SimpleNode
-
Gets an attribute value
- getBackTrace() - Method in exception pnuts.lang.PnutsException
-
Returns an enumeration of PnutsException.TraceInfo objects
- getBaseImpl() - Method in class pnuts.ext.ImplementationAdapter
-
Returns the base Implementation which was passed to the constructor
- getBaseImpl() - Method in class pnuts.ext.PnutsImplAdapter
-
Deprecated.
Returns the base PnutsImpl which was passed to the constructor
- getBasePackage() - Method in class pnuts.ext.CompositePackage
-
Gets the base package
- getBeanProperty(Object, String) - Method in class pnuts.compiler.DynamicRuntime
-
Gets a Bean property of the specified bean.
- getBeanProperty(Object, String, Class) - Method in class pnuts.compiler.DynamicRuntime
-
Gets a Bean property of the specified bean.
- getBeanProperty(Context, Object, String) - Method in class pnuts.lang.JavaBeansConfiguration
-
Gets a Bean property of the specified bean.
- getBeanProperty(Context, Object, String) - Static method in class pnuts.lang.Runtime
-
Gets a Bean property of the specified bean.
- getBeanProperty(Object, String) - Method in class pnuts.lang.Runtime
-
Gets a Bean property of the specified bean.
- getBeanProperty(Object, String, Class) - Method in class pnuts.lang.Runtime
-
Gets a Bean property of the specified bean.
- getBeanPropertyType(Class, String) - Method in class pnuts.compiler.DynamicRuntime
-
Gets the type of a bean property
- getBeanPropertyType(Class, String) - Method in class pnuts.lang.Runtime
-
Gets the type of a bean property
- getBeginColumn(Context) - Static method in class pnuts.lang.Runtime
-
- getBeginLine(Context) - Static method in class pnuts.lang.Runtime
-
- getBeginLine() - Method in class pnuts.tools.DebugContext
-
- getBottomType(Class) - Static method in class pnuts.lang.Runtime
-
Get true component type from an array type.
- getBreakPoints(Object) - Method in class pnuts.tools.VisualDebuggerModel
-
- getCachedCode(Object) - Method in class pnuts.ext.CachedPnutsImpl
-
- getCallDepth() - Method in class pnuts.tools.DebugContext
-
Get the stack depth (in pure interpreter)
- getClassDefNode(String, boolean, SimpleNode, SimpleNode) - Static method in class pnuts.compiler.Compiler
-
Convert 'new type(){...}' to 'class name extends type {...}'
- getClassLoader() - Method in class pnuts.lang.Context
-
Gets the current class loader.
- getClassLoader() - Method in class pnuts.tools.PnutsConsole
-
- getClassName() - Method in class pnuts.compiler.ClassFile
-
- getClassName(Package, String) - Method in class pnuts.ext.ModuleBase
-
Makes a class name for the specified package and the symbol's name.
- getColumn() - Method in exception pnuts.lang.PnutsException
-
Returns the column number where the error occured.
- getColumn() - Method in class pnuts.lang.PnutsException.TraceInfo
-
The column number of the place where the function call was taken place.
- getCompiledScript(String, Context) - Static method in class pnuts.lang.Runtime
-
This method is called by Pnuts.load() when the property
"pnuts.compiled.script.prefix" is defined, to load pre-compiled scripts.
- getCompiler() - Method in class pnuts.ext.CachedScript
-
Returns a compiler.
- getComponent() - Method in class pnuts.tools.PnutsConsoleUI
-
- getConfiguration() - Method in class pnuts.lang.Context
-
- getConsoleUI() - Method in class pnuts.tools.Console
-
Gets the UI object of this console
- getConstructors(Class) - Method in class pnuts.ext.ConfigurationAdapter
-
Get all public constructors of the specified class.
- getConstructors(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
-
- getConstructors(Class) - Method in class pnuts.ext.NonPublicMemberAccessor
-
- getConstructors(Class) - Method in class pnuts.ext.PublicMemberAccessor
-
- getConstructors(Class) - Method in class pnuts.lang.Configuration
-
Get all public constructors of the specified class.
- getConstructors(Class) - Method in class pnuts.lang.JavaBeansConfiguration
-
Get all public constructors of the specified class.
- getConstructors(Context, Class) - Static method in class pnuts.lang.Runtime
-
- getContext() - Method in class pnuts.tools.ContextEvent
-
- getContext() - Method in class pnuts.tools.PnutsConsole
-
- getCurrentPackage() - Method in class pnuts.lang.Context
-
get the current package
- getCurrentSource() - Method in class pnuts.tools.VisualDebuggerModel
-
- getDebugger() - Method in class pnuts.tools.DebugContext
-
Returns the debugger that controls this debug context
- getDefault() - Static method in class pnuts.lang.Configuration
-
Returns the default Configuration object.
- getDefault() - Static method in class pnuts.lang.PnutsImpl
-
Returns the default PnutsImpl object
- getDefaultImports() - Method in class pnuts.lang.Configuration
-
Subclasses may redefines default imports
- getDefaults() - Static method in class pnuts.lang.Pnuts
-
Gets the properties previously set by setDefaults() method.
- getElement(Context, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Gets an array element
- getElement(Context, Object, Object) - Method in class pnuts.lang.Configuration
-
Gets an array element
- getElement(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "target[key]"
- getElementAt(Object, int, Context) - Static method in class pnuts.lang.Runtime
-
- getEndLine(Context) - Static method in class pnuts.lang.Runtime
-
- getEndLine() - Method in class pnuts.tools.DebugContext
-
- getErrorColumn() - Method in exception pnuts.lang.ParseException
-
- getErrorLine() - Method in exception pnuts.lang.ParseException
-
- getErrorStream() - Method in class pnuts.lang.Context
-
Deprecated.
replaced by getErrorWriter
- getErrorWriter() - Method in class pnuts.lang.Context
-
Get an PrintWriter to which error() write messages
- getEvalDepth() - Method in class pnuts.tools.DebugContext
-
Get the depth of evaluation.
- getExitHook() - Method in class pnuts.lang.Context
-
Gets the hook to be executed at the end of a script
- GETFIELD - Static variable in interface pnuts.compiler.Opcode
-
- getField(Context, Object, String) - Method in class pnuts.ext.ConfigurationAdapter
-
Gets a field of the specified class.
- getField(Class, String) - Method in class pnuts.ext.NonPublicMemberAccessor
-
- getField(Context, Object, String) - Method in class pnuts.ext.NonPublicMemberAccessor
-
Gets a field value of the target object.
- getField(Context, Object, String) - Method in class pnuts.ext.PublicMemberAccessor
-
Gets a field value of the target object.
- getField(Class, String) - Method in class pnuts.ext.PublicMemberAccessor
-
- getField(Context, Object, String) - Method in class pnuts.lang.Configuration
-
Gets a field value of the target object.
- getField(Context, Object, String) - Method in class pnuts.lang.JavaBeansConfiguration
-
Gets a Bean property of the specified bean.
- getField(Context, Object, String) - Static method in class pnuts.lang.Runtime
-
Get the value of a instance field.
- getField(Class, String) - Static method in class pnuts.lang.Runtime
-
- GETFIELD2_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- GETFIELD_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- GETFIELD_QUICK_W - Static variable in interface pnuts.compiler.Opcode
-
- getFrame() - Method in class pnuts.lang.PnutsException.TraceInfo
-
Gets the callee that throws an exception.
- getFrame() - Method in class pnuts.tools.PnutsConsoleUI
-
- getFunction(PnutsFunction, int) - Static method in class pnuts.lang.Runtime
-
- getFunction(Context) - Static method in class pnuts.lang.Runtime
-
- getFunctions(PnutsFunction) - Static method in class pnuts.lang.Runtime
-
- getGlobalPackage() - Static method in class pnuts.lang.Package
-
- getGreeting() - Method in class pnuts.tools.PnutsConsole
-
- getId(String) - Method in class pnuts.lang.Context
-
Gets the value of a symbol.
- getImplementation() - Method in class pnuts.lang.Context
-
Gets the Implementation object associated with this context
- getImportEnv() - Method in class pnuts.lang.Function
-
- getImportEnv(int) - Method in class pnuts.lang.PnutsFunction
-
- getInitialClassLoader() - Method in class pnuts.lang.Configuration
-
- getInputLog() - Method in class pnuts.tools.PnutsConsole
-
- getJFrame() - Method in class pnuts.tools.VisualDebuggerView
-
Returns a JFrame
The default behavior of this method creates and returns a JFrame object.
- getJTextComponent() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- getLabel() - Method in class pnuts.compiler.ClassFile
-
- getLabel(boolean) - Method in class pnuts.compiler.ClassFile
-
- getLength() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- getLine() - Method in exception pnuts.lang.PnutsException
-
Returns the line number where the error occured.
- getLine() - Method in class pnuts.lang.PnutsException.TraceInfo
-
The line number of the place where the function call was taken place.
- getLocal() - Method in class pnuts.compiler.ClassFile
-
- getMarkPosition() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- getMessage() - Method in exception pnuts.lang.ParseException
-
This method has the standard behavior when this object has been created
using the standard constructors.
- getMessage() - Method in exception pnuts.lang.PnutsException
-
- getMessage(String, String, Object[]) - Static method in class pnuts.lang.Runtime
-
- getMessage() - Method in error pnuts.lang.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMethods(Class) - Method in class pnuts.ext.ConfigurationAdapter
-
Get all public methods of the specified class.
- getMethods(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
-
- getMethods(Class) - Method in class pnuts.ext.NonPublicMemberAccessor
-
- getMethods(Class) - Method in class pnuts.ext.PublicMemberAccessor
-
- getMethods(Class) - Method in class pnuts.lang.Configuration
-
Get all public methods of the specified class.
- getMethods(Class) - Method in class pnuts.lang.JavaBeansConfiguration
-
Collects the Bean methods for the specified class.
- getMethods(Context, Class) - Static method in class pnuts.lang.Runtime
-
- getModel() - Method in class pnuts.tools.JTextComponentConsoleUI
-
- getModel() - Method in class pnuts.tools.VisualDebuggerView
-
- getModules() - Method in class pnuts.tools.PnutsConsole
-
- getName() - Method in class pnuts.lang.Context
-
Gets the name of the context
- getName() - Method in class pnuts.lang.Function
-
Returns the name of the function
- getName() - Method in interface pnuts.lang.NamedValue
-
Gets the name of the value.
- getName() - Method in class pnuts.lang.Package
-
- getName() - Method in class pnuts.lang.PnutsFunction
-
- getNextToken() - Method in class pnuts.lang.PnutsParser
-
- getNextToken() - Method in class pnuts.lang.PnutsParserTokenManager
-
- getNode() - Method in class pnuts.lang.Function
-
- getNumberOfParameter() - Method in class pnuts.lang.Function
-
Returns the number of parameters
- getObjectField(Context, Object, String) - Method in class pnuts.ext.PublicMemberAccessor
-
- getOutputStream() - Method in class pnuts.lang.Context
-
Get the standard output stream of the context, to which write() writes
data.
- getPackage(Context) - Method in class pnuts.ext.ModuleBase
-
- getPackage() - Method in class pnuts.lang.Function
-
- getPackage(String) - Static method in class pnuts.lang.Package
-
If package "pkg" exists returns the package, otherwise creates and
returns it.
- getPackage(String, Context) - Static method in class pnuts.lang.Package
-
If package "pkg" exists returns the package, otherwise creates and
returns it.
- getPackage() - Method in class pnuts.lang.PnutsFunction
-
Deprecated.
- getParent() - Method in class pnuts.ext.ConfigurationAdapter
-
Returns the parent configuration
- getParent() - Method in class pnuts.lang.Package
-
Returns the parent package.
- getPermissions(CodeSource) - Method in class pnuts.security.JAASPnutsImpl
-
- getPermissions(CodeSource) - Method in class pnuts.security.SecurePnutsImpl
-
Returns permissions from policy file, plus Applet's sand-box permissions.
- getPnutsImpl() - Method in class pnuts.lang.Context
-
Deprecated.
replaced by getImplementation()
- getPolicyPermissions(CodeSource) - Method in class pnuts.security.SecurePnutsImpl
-
Gets permission declared in the policy file
- getPrefix() - Method in class pnuts.ext.ModuleBase
-
Defines the prefix of script class (resource) name.
- getPrefix() - Method in class pnuts.tools.init
-
- getPriority() - Method in class pnuts.tools.PnutsConsole
-
- getProperty(String) - Static method in class pnuts.lang.Runtime
-
- getRange(Context, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Defines the semantices of an expression like:
- getRange(Context, Object, Object, Object) - Method in class pnuts.lang.Configuration
-
Defines the semantices of an expression like:
- getRange(Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
Range expression 'target[idx1..idx2]'.
- getReader() - Method in class pnuts.tools.Console
-
Gets the Reader from this console
- getReader() - Method in class pnuts.tools.PnutsConsole
-
- getRequiredModules() - Method in class pnuts.ext.ModuleBase
-
This method is supposed to be redefined in a subclass to
define a set of modules that are required to implement this module.
- getResource(String, Context) - Static method in class pnuts.lang.Pnuts
-
Get the resource URL.
- getResource(String) - Method in class pnuts.tools.VisualDebuggerView
-
- getResourceString(String) - Method in class pnuts.tools.VisualDebuggerView
-
- getRuntime(Context) - Static method in class pnuts.lang.Runtime
-
- getScriptEncoding() - Method in class pnuts.lang.Context
-
Gets the current script encoding
- getScriptReader(InputStream, Context) - Static method in class pnuts.lang.Runtime
-
Gets a Reader to read script files
If context.getScriptEncoding() is non-null, it would be used as the
encoding.
- getScriptSource() - Method in class pnuts.lang.Context
-
Get the source of the script.
- getScriptSource() - Method in class pnuts.lang.Function
-
- getScriptSource() - Method in exception pnuts.lang.ParseException
-
- getScriptSource() - Method in class pnuts.lang.Pnuts
-
Gets the script source associated with this parsed (compiled) expression
- getScriptSource() - Method in exception pnuts.lang.PnutsException
-
Returns the script source (usually a URL) where the error occured.
- getScriptSource() - Method in class pnuts.lang.PnutsException.TraceInfo
-
Gets the source of the script where the function call was taken
place.
- getScriptSource(Context) - Static method in class pnuts.lang.Runtime
-
- getScriptSource() - Method in class pnuts.tools.DebugContext
-
- getScriptURL(String, Context) - Static method in class pnuts.lang.Runtime
-
Returns a URL of a script
- GETSTATIC - Static variable in interface pnuts.compiler.Opcode
-
- GETSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- GETSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- getStaticField(Context, Class, String) - Method in class pnuts.ext.ConfigurationAdapter
-
Get the value of a static field.
- getStaticField(Context, Class, String) - Method in class pnuts.ext.PublicMemberAccessor
-
- getStaticField(Context, Class, String) - Method in class pnuts.lang.Configuration
-
Get the value of a static field.
- getStaticField(Context, Class, String) - Static method in class pnuts.lang.Runtime
-
Get the value of a static field.
- getStopClass() - Method in class pnuts.lang.JavaBeansConfiguration
-
- getSubModules() - Method in class pnuts.ext.ModuleBase
-
This method is supposed to be redefined in a subclass to
define a set of modules that this module provides in the caller's
context.
- getSubModules() - Method in class pnuts.tools.init
-
- getTargetObject() - Method in class pnuts.lang.PnutsException.TraceInfo
-
Gets the target object of the method call that causes an exception
- getTerminalStream() - Method in class pnuts.lang.Context
-
Deprecated.
replaced by getTerminalWriter(Writer)
- getTerminalWriter() - Method in class pnuts.lang.Context
-
get terminal-output-stream of the context
- getTerminationCallback() - Method in class pnuts.tools.PnutsConsole
-
- getterSignature(Class, String) - Static method in class pnuts.compiler.Compiler
-
- getTextArea() - Method in class pnuts.tools.PnutsConsoleUI
-
- getThreadContext() - Static method in class pnuts.lang.Runtime
-
Sets the context bound to the current thread
- getThrowable() - Method in exception pnuts.lang.PnutsException
-
Returns the root cause
- getTitle() - Method in class pnuts.tools.PnutsConsoleUI
-
- getTitleString(Object) - Method in class pnuts.tools.VisualDebuggerView
-
Returns the title string Subclasses may override this method to customize
the window title.
- getToken(int) - Method in class pnuts.lang.PnutsParser
-
- getType(String) - Method in class pnuts.lang.Runtime.Accessor
-
- getType() - Method in class pnuts.tools.CommandEvent
-
Get the event type
- getValue(String) - Method in class pnuts.lang.Context
-
- getValue() - Method in exception pnuts.lang.Escape
-
- getValue() - Method in exception pnuts.lang.Runtime.Break
-
- getWriter() - Method in class pnuts.lang.Context
-
Get the standard writer of the context, to which print()/println() write
messages.
- getWriter() - Method in class pnuts.tools.Console
-
Gets the OutputStream from this console
- global(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- global(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- global(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- global(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- globalPackage - Static variable in class pnuts.lang.Package
-
The package with name "".
- GOTO - Static variable in interface pnuts.compiler.Opcode
-
- GOTO_W - Static variable in interface pnuts.compiler.Opcode
-
- GREETING - Static variable in class pnuts.tools.PnutsConsole
-
- GT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- gt(Object, Object) - Static method in class pnuts.lang.Runtime
-
> operation
- gt(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- gtNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- gtNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- gtNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- gtNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- L2D - Static variable in interface pnuts.compiler.Opcode
-
- L2F - Static variable in interface pnuts.compiler.Opcode
-
- L2I - Static variable in interface pnuts.compiler.Opcode
-
- LA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- Label - Class in pnuts.compiler
-
- labelSuffix - Static variable in class pnuts.tools.VisualDebuggerView
-
- LADD - Static variable in interface pnuts.compiler.Opcode
-
- LALOAD - Static variable in interface pnuts.compiler.Opcode
-
- LAND - Static variable in interface pnuts.compiler.Opcode
-
- lastModified - Variable in class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
-
- LASTORE - Static variable in interface pnuts.compiler.Opcode
-
- LBRACE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- LBRACKET - Static variable in interface pnuts.lang.PnutsParserConstants
-
- LCMP - Static variable in interface pnuts.compiler.Opcode
-
- LCONST_0 - Static variable in interface pnuts.compiler.Opcode
-
- LCONST_1 - Static variable in interface pnuts.compiler.Opcode
-
- LDC - Static variable in interface pnuts.compiler.Opcode
-
- LDC2_W - Static variable in interface pnuts.compiler.Opcode
-
- LDC2_W_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- LDC_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- LDC_W - Static variable in interface pnuts.compiler.Opcode
-
- LDC_W_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- LDIV - Static variable in interface pnuts.compiler.Opcode
-
- LE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- le(Object, Object) - Static method in class pnuts.lang.Runtime
-
<= operation
- le(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- LEFT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
-
- leNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- leNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- leNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- leNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- LETTER - Static variable in interface pnuts.lang.PnutsParserConstants
-
- LexicalError(boolean, int, int, int, String, char) - Static method in error pnuts.lang.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the
token manager to indicate a lexical error.
- lexStateNames - Static variable in class pnuts.lang.PnutsParserTokenManager
-
- LHS(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- LimitedClassesConfiguration - Class in pnuts.ext
-
- LimitedClassesConfiguration() - Constructor for class pnuts.ext.LimitedClassesConfiguration
-
- LimitedClassesConfiguration(Configuration) - Constructor for class pnuts.ext.LimitedClassesConfiguration
-
- line - Variable in exception pnuts.lang.PnutsException
-
- LINE_UPDATED - Static variable in class pnuts.tools.CommandEvent
-
The event type which indicates line number has been changed.
- List(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- listElements(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- listElements(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- listElements(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ListElements(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- listElements(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- Literal() - Method in class pnuts.lang.PnutsParser
-
- LLOAD - Static variable in interface pnuts.compiler.Opcode
-
- LLOAD_0 - Static variable in interface pnuts.compiler.Opcode
-
- LLOAD_1 - Static variable in interface pnuts.compiler.Opcode
-
- LLOAD_2 - Static variable in interface pnuts.compiler.Opcode
-
- LLOAD_3 - Static variable in interface pnuts.compiler.Opcode
-
- lloadLocal(int) - Method in class pnuts.compiler.ClassFile
-
- LMUL - Static variable in interface pnuts.compiler.Opcode
-
- LNEG - Static variable in interface pnuts.compiler.Opcode
-
- load(URL, Context) - Method in class pnuts.ext.CachedPnutsImpl
-
Load a script file from a URL
- load(String, Context) - Method in class pnuts.ext.ImplementationAdapter
-
Load a script file using classloader
- load(URL, Context) - Method in class pnuts.ext.ImplementationAdapter
-
Load a script file from a URL
- load(String, Context) - Method in class pnuts.ext.PnutsImplAdapter
-
Deprecated.
Load a script file using classloader
- load(URL, Context) - Method in class pnuts.ext.PnutsImplAdapter
-
Deprecated.
Load a script file from a URL
- load(String, Context) - Method in interface pnuts.lang.AutoloadHook
-
When a registered name is first accessed and the name has not been
defined, this method of a corresponding AutoloadHook object is called.
- load(String, Context) - Method in interface pnuts.lang.Implementation
-
Load a script file using classloader
- load(URL, Context) - Method in interface pnuts.lang.Implementation
-
Load a script file from a URL
- load(String, Context) - Static method in class pnuts.lang.Pnuts
-
Loads a script "file" in "context"
- load(URL, Context) - Static method in class pnuts.lang.Pnuts
-
Loads a script specifed as a URL.
- load(InputStream, Context) - Static method in class pnuts.lang.Pnuts
-
Loads a script from InputStream "in" in "context"
- load(InputStream, boolean, Context) - Static method in class pnuts.lang.Pnuts
-
Load a script from an InputStream in the specified Context.
- load(Reader, Context) - Static method in class pnuts.lang.Pnuts
-
This method loads a script
- load(Reader, boolean, Context) - Static method in class pnuts.lang.Pnuts
-
This method loads a script
- LOAD - Static variable in class pnuts.lang.PnutsFunction
-
- load(String, Context) - Method in class pnuts.lang.PnutsImpl
-
Load a script file using classloader
- load(URL, Context) - Method in class pnuts.lang.PnutsImpl
-
Load a script file from a URL
- load(String, Context) - Method in class pnuts.security.SecurePnutsImpl
-
Load a script file using classloader
- load(URL, Context) - Method in class pnuts.security.SecurePnutsImpl
-
Load a script file from a URL
- LOAD_FILE - Static variable in class pnuts.lang.PnutsFunction
-
- loadClass(String, Context) - Static method in class pnuts.lang.Pnuts
-
Loads the class by the following order.
- loadFile(String, Context) - Method in class pnuts.ext.ImplementationAdapter
-
Load a script file from local file system
- loadFile(String, Context) - Method in class pnuts.ext.PnutsImplAdapter
-
Deprecated.
Load a script file from local file system
- loadFile(String, Context) - Method in interface pnuts.lang.Implementation
-
Load a script file from local file system
- loadFile(String, Context) - Static method in class pnuts.lang.Pnuts
-
Loads a local script "file" in "context"
- loadFile(String, Context) - Method in class pnuts.lang.PnutsImpl
-
Load a script file from local file system
- loadFile(String, Context) - Method in class pnuts.security.SecurePnutsImpl
-
Load a script file from local file system
- loadingResource - Variable in class pnuts.lang.Context
-
- loadLocal(int) - Method in class pnuts.compiler.ClassFile
-
- loadModule(String, Package) - Method in class pnuts.lang.Context
-
Loads a module is it has not been loaded yet.
- loadNode(String) - Static method in class pnuts.lang.Runtime
-
- Local(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- locals - Variable in class pnuts.lang.Function
-
local parameters
- localSymbols(Context) - Static method in class pnuts.tools.StackFrameInspector
-
- localSymbols(Context, Map) - Static method in class pnuts.tools.StackFrameInspector
-
- logAndNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- logAndNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- logAndNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- logAndNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- logNotNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- logNotNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- logNotNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- logNotNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- logOrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- logOrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- logOrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- logOrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- long_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
-
- LONG_SYMBOL - Static variable in class pnuts.lang.Runtime
-
- lookingAhead - Variable in class pnuts.lang.PnutsParser
-
- lookup(String, Context) - Method in class pnuts.ext.CompositePackage
-
First looks for the symbol in the local symbol table.
- lookup(String) - Method in class pnuts.ext.CompositePackage
-
Looks for a name-value binding in the symbol table chain.
- lookup(String, Context) - Method in class pnuts.lang.Package
-
Looks up a symbol in this package.
- lookupRecursively(String, Context) - Method in class pnuts.lang.Package
-
Lookup the symbol in the package.
- LOOKUPSWITCH - Static variable in interface pnuts.compiler.Opcode
-
- LOR - Static variable in interface pnuts.compiler.Opcode
-
- LPAREN - Static variable in interface pnuts.lang.PnutsParserConstants
-
- LREM - Static variable in interface pnuts.compiler.Opcode
-
- LRETURN - Static variable in interface pnuts.compiler.Opcode
-
- LSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- LSHL - Static variable in interface pnuts.compiler.Opcode
-
- LSHR - Static variable in interface pnuts.compiler.Opcode
-
- LSTORE - Static variable in interface pnuts.compiler.Opcode
-
- LSTORE_0 - Static variable in interface pnuts.compiler.Opcode
-
- LSTORE_1 - Static variable in interface pnuts.compiler.Opcode
-
- LSTORE_2 - Static variable in interface pnuts.compiler.Opcode
-
- LSTORE_3 - Static variable in interface pnuts.compiler.Opcode
-
- LSUB - Static variable in interface pnuts.compiler.Opcode
-
- LT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- lt(Object, Object) - Static method in class pnuts.lang.Runtime
-
< operation
- lt(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- ltNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- ltNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- ltNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ltNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- LUSHR - Static variable in interface pnuts.compiler.Opcode
-
- LXOR - Static variable in interface pnuts.compiler.Opcode
-
- PA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- Package - Class in pnuts.lang
-
This class represents a Pnuts' package (not Java's).
- Package() - Constructor for class pnuts.lang.Package
-
Creates a package that is not visible from other packages.
- Package(String) - Constructor for class pnuts.lang.Package
-
Creates a package and register it in a static hashtable.
- Package(String, Package) - Constructor for class pnuts.lang.Package
-
Creates a package and register it in a static hashtable.
- Package(String, Package, Package) - Constructor for class pnuts.lang.Package
-
Creates a package and register it in a static hashtable.
- PACKAGE - Static variable in class pnuts.lang.PnutsFunction
-
- Package() - Method in class pnuts.lang.PnutsParser
-
- PACKAGE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- PackageFactory - Interface in pnuts.lang
-
The system property "pnuts.package.factory" is specified at startup time, the
package(..) builtin function calls its createPackage() method of the
specified class.
- packageNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- packageNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- packageNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- packageNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- PackagePermission - Class in pnuts.security
-
This class represents access to a Package in Pnuts.
- PackagePermission(String) - Constructor for class pnuts.security.PackagePermission
-
- PackagePermission(String, String) - Constructor for class pnuts.security.PackagePermission
-
- packages - Variable in class pnuts.lang.Package
-
All packages with a non-null name
- PackageStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- Param() - Method in class pnuts.lang.PnutsParser
-
- ParamList(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- parent - Variable in class pnuts.compiler.ClassFile
-
- parent - Variable in class pnuts.lang.Package
-
- parent - Variable in class pnuts.lang.SimpleNode
-
- parse(InputStream) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by parse(Reader)
- parse(Reader) - Static method in class pnuts.lang.Pnuts
-
parse a script from Reader and return a Pnuts object
- parse(Reader, ParseEnvironment) - Static method in class pnuts.lang.Pnuts
-
parse a script from Reader and return a Pnuts object
- parse(Reader, Object, Context) - Static method in class pnuts.lang.Pnuts
-
parse a script from Reader and return a Pnuts object
- parse(Reader, Object, Context, ParseEnvironment) - Static method in class pnuts.lang.Pnuts
-
parse a script from Reader and return a Pnuts object
- parse(String) - Static method in class pnuts.lang.Pnuts
-
Parses a script and return a Pnuts object
- parseChar(String) - Static method in class pnuts.lang.Runtime
-
Parse a character literal.
- parsedExpression - Variable in class pnuts.ext.CachedPnutsImpl.ScriptCacheEntry
-
- parsedTime - Variable in class pnuts.ext.CachedScript
-
- ParseEnvironment - Interface in pnuts.lang
-
This class defines how to handle ParseException thrown by the parser.
- ParseException - Exception in pnuts.lang
-
This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) - Constructor for exception pnuts.lang.ParseException
-
This constructor is used by the method "generateParseException" in the
generated parser.
- ParseException() - Constructor for exception pnuts.lang.ParseException
-
The following constructors are for use by you for whatever purpose you
can think of.
- ParseException(String) - Constructor for exception pnuts.lang.ParseException
-
- parseFloat(String) - Static method in class pnuts.lang.Runtime
-
Parse a floating point number.
- parseInt(String) - Static method in class pnuts.lang.Runtime
-
Parse an integer.
- parseString(String) - Static method in class pnuts.lang.Runtime
-
Parse a string literal.
- pkg - Variable in class pnuts.lang.Function
-
- pkg - Variable in class pnuts.lang.PnutsFunction
-
- pkgName - Variable in class pnuts.lang.Function
-
the package name in which this function is defined
- PLUS - Static variable in interface pnuts.lang.PnutsParserConstants
-
- Pnuts - Class in pnuts.lang
-
This class provides a set of static methods to parse/execute scripts.
- Pnuts() - Constructor for class pnuts.lang.Pnuts
-
- pnuts.compiler - package pnuts.compiler
-
This package provides Pnuts compiler that translate scripts to Java bytecode.
- pnuts.ext - package pnuts.ext
-
This package provides classes that are useful when extending the Pnuts API.
- pnuts.lang - package pnuts.lang
-
This package provides the core of the Pnuts language processor.
- pnuts.security - package pnuts.security
-
This package provides security related extensions to the Pnuts API.
- pnuts.tools - package pnuts.tools
-
This package provides provides the classes that support pnuts command.
- pnuts_version - Static variable in class pnuts.lang.Pnuts
-
The version number
- PnutsCompiler - Class in pnuts.tools
-
A batch compiler for Pnuts.
- PnutsCompiler() - Constructor for class pnuts.tools.PnutsCompiler
-
- PnutsConsole - Class in pnuts.tools
-
- PnutsConsole() - Constructor for class pnuts.tools.PnutsConsole
-
Constructor
- PnutsConsoleApplet - Class in pnuts.tools
-
Pnuts Console Applet
Usage:
- PnutsConsoleApplet() - Constructor for class pnuts.tools.PnutsConsoleApplet
-
- PnutsConsoleUI - Class in pnuts.tools
-
Swing based UI
- PnutsConsoleUI() - Constructor for class pnuts.tools.PnutsConsoleUI
-
- PnutsConsoleUI(Console) - Constructor for class pnuts.tools.PnutsConsoleUI
-
- PnutsException - Exception in pnuts.lang
-
This is a wrapper class for Exception to be thrown.
- PnutsException() - Constructor for exception pnuts.lang.PnutsException
-
Constructor
- PnutsException(String) - Constructor for exception pnuts.lang.PnutsException
-
Constructor
- PnutsException(String, Context) - Constructor for exception pnuts.lang.PnutsException
-
Constructor
- PnutsException(String, Object[], Context) - Constructor for exception pnuts.lang.PnutsException
-
This constructor creates a PnutsException using i18n resources in
pnuts.properties.
- PnutsException(String, String, Object[], Context) - Constructor for exception pnuts.lang.PnutsException
-
This constructor creates a PnutsException using i18n resources in
pnuts.properties.
- PnutsException(Throwable) - Constructor for exception pnuts.lang.PnutsException
-
Deprecated.
replaced by PnutsException(Throwable, Context)
- PnutsException(Throwable, Context) - Constructor for exception pnuts.lang.PnutsException
-
Constructor
- PnutsException(Throwable, Object, Context) - Constructor for exception pnuts.lang.PnutsException
-
Deprecated.
- PnutsException.TraceInfo - Class in pnuts.lang
-
A node of a call-chain, which represents a position of a certain function
call
- PnutsException.TraceInfo() - Constructor for class pnuts.lang.PnutsException.TraceInfo
-
- PnutsException.TraceInfo(Object, Object[], Object, int, int) - Constructor for class pnuts.lang.PnutsException.TraceInfo
-
Constructor
- PnutsException.TraceInfo(Object, Object, Object[], Object, int, int) - Constructor for class pnuts.lang.PnutsException.TraceInfo
-
Constructor
- PnutsFunction - Class in pnuts.lang
-
A PnutsFunction represents a group of Pnuts functions with a same name.
- PnutsFunction() - Constructor for class pnuts.lang.PnutsFunction
-
- PnutsFunction(String) - Constructor for class pnuts.lang.PnutsFunction
-
Constructor
- PnutsFunction(String, PnutsFunction) - Constructor for class pnuts.lang.PnutsFunction
-
Constructor
- PnutsImpl - Class in pnuts.lang
-
This class defines an abstract interface of script interpreter's
implementation, It also gives the default implementation, which is a pure
interpreter.
- PnutsImpl() - Constructor for class pnuts.lang.PnutsImpl
-
- PnutsImplAdapter - Class in pnuts.ext
-
Deprecated.
replaced by ImplementationAdapter
- PnutsImplAdapter(PnutsImpl) - Constructor for class pnuts.ext.PnutsImplAdapter
-
Deprecated.
- PnutsInterpreter - Class in pnuts.lang
-
The pure interpreter
- PnutsInterpreter() - Constructor for class pnuts.lang.PnutsInterpreter
-
- PnutsParser - Class in pnuts.lang
-
- PnutsParser(InputStream) - Constructor for class pnuts.lang.PnutsParser
-
- PnutsParser(Reader) - Constructor for class pnuts.lang.PnutsParser
-
- PnutsParser(PnutsParserTokenManager) - Constructor for class pnuts.lang.PnutsParser
-
- PnutsParserConstants - Interface in pnuts.lang
-
- PnutsParserTokenManager - Class in pnuts.lang
-
- PnutsParserTokenManager(SimpleCharStream) - Constructor for class pnuts.lang.PnutsParserTokenManager
-
- PnutsParserTokenManager(SimpleCharStream, int) - Constructor for class pnuts.lang.PnutsParserTokenManager
-
- PnutsParserTreeConstants - Interface in pnuts.lang
-
- POP - Static variable in interface pnuts.compiler.Opcode
-
- POP2 - Static variable in interface pnuts.compiler.Opcode
-
- popFile(Context) - Method in class pnuts.lang.PnutsImpl
-
Tell the context that the current script file has been completed.
- postDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- postDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- postDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- postDecrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- postIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- postIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- postIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- postIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- PostOpe(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- preDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- preDecrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- preDecrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- preDecrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- preIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- preIncrNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- preIncrNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- preIncrNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- PrimaryExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- PrimaryPrefix(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- PrimarySuffix(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- primitive(Context, Class, Object, boolean) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "primitiveType(object)" and
"(primitiveType)object"
- primitiveNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- printError(Throwable, Context) - Static method in class pnuts.lang.Runtime
-
- printStackTrace(PrintWriter) - Method in exception pnuts.lang.PnutsException
-
- printStackTrace(PrintStream) - Method in exception pnuts.lang.PnutsException
-
- prompt - Static variable in class pnuts.lang.Pnuts
-
"prompt" string for the command shell
- properties - Variable in class pnuts.lang.PnutsImpl
-
- Property - Interface in pnuts.lang
-
In Pnuts, access to a property of an object implements this interface causes
a call of methods in this interface.
- provide(String, Context) - Method in class pnuts.lang.PnutsImpl
-
Check if any exception handler for the specified exception is defined.
- providedModuleNames - Variable in class pnuts.lang.Package
-
- provideTable - Variable in class pnuts.lang.Context
-
- PublicMemberAccessor - Class in pnuts.ext
-
when -p option is given to the pnuts command, this class is used so that
public members can be accessed.
- PublicMemberAccessor() - Constructor for class pnuts.ext.PublicMemberAccessor
-
- PublicMemberAccessor(Configuration) - Constructor for class pnuts.ext.PublicMemberAccessor
-
- pushDouble(double) - Method in class pnuts.compiler.ClassFile
-
- pushFile(Object, Context) - Method in class pnuts.lang.PnutsImpl
-
Tell the context that it's started processing the script file.
- pushFloat(float) - Method in class pnuts.compiler.ClassFile
-
- pushInteger(int) - Method in class pnuts.compiler.ClassFile
-
- pushLong(long) - Method in class pnuts.compiler.ClassFile
-
- pushString(String) - Method in class pnuts.compiler.ClassFile
-
- putCachedCode(Object, CachedPnutsImpl.ScriptCacheEntry) - Method in class pnuts.ext.CachedPnutsImpl
-
- PUTFIELD - Static variable in interface pnuts.compiler.Opcode
-
- putField(Context, Object, String, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Sets a field of the specified class.
- putField(Context, Object, String, Object) - Method in class pnuts.ext.NonPublicMemberAccessor
-
Sets a field value of the specified object.
- putField(Context, Object, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
-
Sets a field value of the specified object.
- putField(Context, Object, String, Object) - Method in class pnuts.lang.Configuration
-
Sets a field value of the specified object.
- putField(Context, Object, String, Object) - Method in class pnuts.lang.JavaBeansConfiguration
-
Sets a Bean property of the specified bean.
- putField(Context, Object, String, Object) - Static method in class pnuts.lang.Runtime
-
Assign an object to a instance field.
- PUTFIELD2_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- PUTFIELD_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- PUTFIELD_QUICK_W - Static variable in interface pnuts.compiler.Opcode
-
- putObjectField(Context, Object, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
-
- PUTSTATIC - Static variable in interface pnuts.compiler.Opcode
-
- PUTSTATIC2_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- PUTSTATIC_QUICK - Static variable in interface pnuts.compiler.Opcode
-
- putStaticField(Context, Class, String, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Sets a field of the specified class.
- putStaticField(Context, Class, String, Object) - Method in class pnuts.ext.PublicMemberAccessor
-
- putStaticField(Context, Class, String, Object) - Method in class pnuts.lang.Configuration
-
Sets a value to the static field of the specified class.
- putStaticField(Context, Class, String, Object) - Static method in class pnuts.lang.Runtime
-
Assign an object to a static field.
Q
- quantity(Number, String, String, Context) - Static method in class pnuts.lang.Runtime
-
Creates an object from a number literal and a unit symbol
- QuantityFactory - Interface in pnuts.lang
-
A factory class for unit numbers.
- queryProperty(String) - Method in class pnuts.lang.PnutsImpl
-
- QUIT - Static variable in class pnuts.lang.PnutsFunction
-
R
- RA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- RAA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- rangeNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- rangeNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- rangeNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- rangeNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- RBRACE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- RBRACKET - Static variable in interface pnuts.lang.PnutsParserConstants
-
- register(int, int) - Method in class pnuts.compiler.Label
-
Registers the label and allocate 2 or 4 bytes in the code buffer.
- register(PnutsFunction) - Method in class pnuts.lang.Function
-
- register(PnutsFunction, boolean) - Method in class pnuts.lang.Function
-
- registerClass(Class) - Method in class pnuts.ext.LimitedClassesConfiguration
-
- registerQuantityFactory(String, QuantityFactory) - Method in class pnuts.lang.Context
-
Defines a unit.
- ReInit(InputStream) - Method in class pnuts.lang.PnutsParser
-
- ReInit(Reader) - Method in class pnuts.lang.PnutsParser
-
- ReInit(PnutsParserTokenManager) - Method in class pnuts.lang.PnutsParser
-
- ReInit(SimpleCharStream) - Method in class pnuts.lang.PnutsParserTokenManager
-
- ReInit(SimpleCharStream, int) - Method in class pnuts.lang.PnutsParserTokenManager
-
- RelationalExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- REM - Static variable in interface pnuts.lang.PnutsParserConstants
-
- remove(String) - Static method in class pnuts.lang.Package
-
Deprecated.
replaced by remove(String, Context)
- remove(String, Context) - Static method in class pnuts.lang.Package
-
Removes the specified package.
- removeBreakPoint(Object, int) - Method in interface pnuts.tools.Debugger
-
Remove a breakpoint
- removeBreakPoint(Object, int) - Method in class pnuts.tools.TerminalDebugger
-
- removeBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebugger
-
- removeBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebuggerModel
-
- removeCommandListener(CommandListener) - Method in class pnuts.tools.DebugContext
-
- removePackage(Package, Context) - Method in class pnuts.lang.Package
-
- removePackage(Package, Context) - Method in class pnuts.security.SecurePackage
-
- replaceChar(String, Number, Object) - Static method in class pnuts.lang.Runtime
-
- require(String, Context) - Static method in class pnuts.lang.Pnuts
-
Loads a script "file" only if the script has not been read.
- require(String, Context, boolean) - Static method in class pnuts.lang.Pnuts
-
- REQUIRE - Static variable in class pnuts.lang.PnutsFunction
-
- requiredModuleNames - Variable in class pnuts.lang.Package
-
- reserveStack(int) - Method in class pnuts.compiler.ClassFile
-
- reset() - Method in class pnuts.ext.CachedPnutsImpl
-
Reset the cache entries
- resolveClass(String) - Method in class pnuts.lang.Context
-
- resolveSymbol(String) - Method in class pnuts.lang.Context
-
Resolves the value of a symbol in the following order:
(1) current package (2) builtin functions, primitive types, pnuts_version
(3) module exports (4) imported classes (5) parent packages
- resolveType(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- RET - Static variable in interface pnuts.compiler.Opcode
-
- RETURN - Static variable in interface pnuts.compiler.Opcode
-
- Return(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- RETURN - Static variable in interface pnuts.lang.PnutsParserConstants
-
- returnNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- returnNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- returnNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- returnNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- revoke(String, Context) - Method in class pnuts.lang.PnutsImpl
-
- RIGHT_IS_BIGGER - Static variable in interface pnuts.lang.Numeric
-
- root - Variable in class pnuts.lang.Package
-
- RPAREN - Static variable in interface pnuts.lang.PnutsParserConstants
-
- RSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- run(Context) - Method in class pnuts.ext.CachedScript
-
- run(Context) - Method in class pnuts.ext.ModuleBase
-
Defines ERROR and EXPORTS, and then call execute(Context).
- run(Context) - Method in interface pnuts.lang.Executable
-
Executes the executable object;
- run(Context) - Method in class pnuts.lang.Pnuts
-
Executes a Pnuts object with the specified Context
- run(Context) - Method in class pnuts.lang.Runtime
-
Executes a compiled script.
- RUNSIGNEDSHIFT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- Runtime - Class in pnuts.lang
-
This class provides runtime supports for Pnuts compiler/interpreter.
- Runtime() - Constructor for class pnuts.lang.Runtime
-
- Runtime.Accessor - Class in pnuts.lang
-
- Runtime.Accessor(Class, Class) - Constructor for class pnuts.lang.Runtime.Accessor
-
- Runtime.Break - Exception in pnuts.lang
-
- Runtime.Break(Object) - Constructor for exception pnuts.lang.Runtime.Break
-
- Runtime.Continue - Exception in pnuts.lang
-
- Runtime.Continue() - Constructor for exception pnuts.lang.Runtime.Continue
-
- Runtime.FunctionSerializer - Interface in pnuts.lang
-
- Runtime.TypeMap - Class in pnuts.lang
-
- Runtime.TypeMap(Class, Object, Runtime.TypeMap) - Constructor for class pnuts.lang.Runtime.TypeMap
-
S
- SA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- SALOAD - Static variable in interface pnuts.compiler.Opcode
-
- SASTORE - Static variable in interface pnuts.compiler.Opcode
-
- saveNode(SimpleNode) - Static method in class pnuts.lang.Runtime
-
- SC_AND - Static variable in interface pnuts.lang.PnutsParserConstants
-
- SC_OR - Static variable in interface pnuts.lang.PnutsParserConstants
-
- ScopeAnalyzer - Class in pnuts.compiler
-
- ScopeAnalyzer() - Constructor for class pnuts.compiler.ScopeAnalyzer
-
- script - Variable in class pnuts.ext.CachedScript
-
- scriptSource - Variable in class pnuts.lang.Pnuts
-
The script source, from where the script came.
- scriptURL - Variable in class pnuts.ext.CachedScript
-
- SecurePackage - Class in pnuts.security
-
Package that can control add/write/read operation in a security context.
- SecurePackage(String, Package) - Constructor for class pnuts.security.SecurePackage
-
- SecurePackageFactory - Class in pnuts.security
-
A Package Factory that creates SecurePackage
- SecurePackageFactory() - Constructor for class pnuts.security.SecurePackageFactory
-
- SecurePnutsImpl - Class in pnuts.security
-
A PnutsImpl subclass that execute scripts in an access control context in
Java2 Security.
- SecurePnutsImpl(PnutsImpl) - Constructor for class pnuts.security.SecurePnutsImpl
-
Deprecated.
replaced by SecurePnutsImpl(Implementation)
- SecurePnutsImpl(Implementation) - Constructor for class pnuts.security.SecurePnutsImpl
-
A Constructor
- SecurePnutsImpl(PnutsImpl, CodeSource) - Constructor for class pnuts.security.SecurePnutsImpl
-
Deprecated.
replaced by SecurePnutsImpl(Implementation, CodeSource)
- SecurePnutsImpl(Implementation, CodeSource) - Constructor for class pnuts.security.SecurePnutsImpl
-
A Constructor
- SEMICOLON - Static variable in interface pnuts.lang.PnutsParserConstants
-
- serialize(PnutsFunction, ObjectOutputStream) - Method in interface pnuts.lang.Runtime.FunctionSerializer
-
- set(String, Object, Context) - Method in class pnuts.compiler.ClassGenerator.SuperCallProxy
-
- set(String, Object) - Method in class pnuts.lang.Context
-
Defines an environemnt variable associated with this context
To access those environment variables, Context.get(String) should be
called.
- set(int, Object) - Method in interface pnuts.lang.Indexed
-
Write access to the index
- set(Object) - Method in interface pnuts.lang.NamedValue
-
Sets the value
- set(String, Object, Context) - Method in class pnuts.lang.Package
-
Set a value of a symbol in the package.
- set(String, Object) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by context.getCurrentPackage().set(str.intern(),
val)
- set(String, Object, String) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by Package.getPackage(pkg, null).set(str, val)
- set(String, Object, Context) - Method in interface pnuts.lang.Property
-
This method defines the behavior of the following expression.
- set(String, Object, Context) - Method in class pnuts.security.SecurePackage
-
- setAttribute(String, Object) - Method in class pnuts.lang.SimpleNode
-
Sets an attribute value for the specified key
- setBeanProperty(Object, String, Object) - Method in class pnuts.compiler.DynamicRuntime
-
Sets a Bean property of the specified bean.
- setBeanProperty(Object, String, Object, Class) - Method in class pnuts.compiler.DynamicRuntime
-
Sets a Bean property of the specified bean.
- setBeanProperty(Context, Object, String, Object) - Method in class pnuts.lang.JavaBeansConfiguration
-
Sets a Bean property of the specified bean.
- setBeanProperty(Context, Object, String, Object) - Static method in class pnuts.lang.Runtime
-
Sets a Bean property of the specified bean.
- setBeanProperty(Object, String, Object) - Method in class pnuts.lang.Runtime
-
Sets a Bean property of the specified bean.
- setBeanProperty(Object, String, Object, Class) - Method in class pnuts.lang.Runtime
-
Sets a Bean property of the specified bean.
- setBreakPoint(Object, int) - Method in interface pnuts.tools.Debugger
-
Sets a breakpoint
- setBreakPoint(Object, int) - Method in class pnuts.tools.TerminalDebugger
-
Sets a breakpoint at the specified position
- setBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebugger
-
- setBreakPoint(Object, int) - Method in class pnuts.tools.VisualDebuggerModel
-
- setBreakPointInFunction(String) - Method in class pnuts.tools.TerminalDebugger
-
- setBreakPointInFunction(String, int) - Method in class pnuts.tools.TerminalDebugger
-
- setClassLoader(ClassLoader) - Method in class pnuts.lang.Context
-
Changes the current class loader for this context.
- setClassLoader(ClassLoader) - Method in class pnuts.tools.PnutsConsole
-
- setClassPrefix(String) - Static method in class pnuts.tools.PnutsCompiler
-
Set the prefix of the class name.
- setConfiguration(Configuration) - Method in class pnuts.lang.Context
-
Changes the configuration for this context.
- setConsoleUI(ConsoleUI) - Method in class pnuts.tools.Console
-
Sets the UI object of this console
- setConstantFolding(boolean) - Method in class pnuts.compiler.Compiler
-
- setContext(Context) - Method in class pnuts.tools.PnutsConsole
-
- setCurrentPackage(Package) - Method in class pnuts.lang.Context
-
set the current package
- setCursorPosition(int) - Method in class pnuts.tools.JTextComponentConsoleUI
-
- setDebugger(Debugger) - Method in class pnuts.tools.DebugContext
-
Registers the specified debugger as the controller of this debug context
- setDebugStream(PrintStream) - Method in class pnuts.lang.PnutsParserTokenManager
-
- setDefaults(Properties) - Static method in class pnuts.lang.Pnuts
-
Sets properties that affect the behavior of Pnuts interpreter/compiler.
- setElement(Context, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Sets an array element
- setElement(Context, Object, Object, Object) - Method in class pnuts.lang.Configuration
-
Sets an element
- setElement(Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "target[key] = value"
- setErrorStream(Object, boolean) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setErrorWriter(Writer, boolean)
- setErrorStream(Object) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setErrorWriter(Writer)
- setErrorWriter(Writer, boolean) - Method in class pnuts.lang.Context
-
- setErrorWriter(Writer) - Method in class pnuts.lang.Context
-
- setExitHook(Executable) - Method in class pnuts.lang.Context
-
Sets a hook to be executed at the end of a script.
- setExitHook(Context, PnutsFunction) - Static method in class pnuts.lang.Runtime
-
- setGreeting(boolean) - Method in class pnuts.tools.PnutsConsole
-
- setImplementation(Implementation) - Method in class pnuts.lang.Context
-
Changes the Implementation object associated with this context
- setInputLog(String) - Method in class pnuts.tools.PnutsConsole
-
- setJTextComponent(JTextComponent) - Method in class pnuts.tools.JTextComponentConsoleUI
-
- setLine(Context, int, int) - Static method in class pnuts.lang.Runtime
-
Deprecated.
- setLine(Context, int) - Static method in class pnuts.lang.Runtime
-
- setMarkPosition(int) - Method in class pnuts.tools.JTextComponentConsoleUI
-
- setModel(Console) - Method in class pnuts.tools.JTextComponentConsoleUI
-
- setModules(String[]) - Method in class pnuts.tools.PnutsConsole
-
- setName(String) - Method in class pnuts.lang.Context
-
Sets the name of the context
- setOutputStream(Object, boolean) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setTerminalWriter(Writer, boolean)
- setOutputStream(Object) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setTerminalWriter(Writer)
- setOutputStream(OutputStream) - Method in class pnuts.lang.Context
-
Set the specified OutputStream as the standard output stream of the
context, to which write() writes data.
- setPackage(Package) - Method in class pnuts.lang.Function
-
- setPackage(Package) - Method in class pnuts.lang.PnutsFunction
-
- setPackage(Package, Context) - Static method in class pnuts.lang.Runtime
-
- setPnutsImpl(PnutsImpl) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setImplementation()
- setPosition(int) - Method in class pnuts.compiler.Label
-
Fixes the position to which the label points
- setPriority(int) - Method in class pnuts.tools.PnutsConsole
-
- setPrompt(String) - Static method in class pnuts.lang.Pnuts
-
Sets a "prompt" string for the command shell
- setProperties(Properties) - Method in class pnuts.lang.PnutsImpl
-
- setProperty(String, String) - Method in class pnuts.compiler.CompilerPnutsImpl
-
- setProperty(String, String) - Method in class pnuts.lang.PnutsImpl
-
- setRange(Context, Object, Object, Object, Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Defines the semantices of an expression like:
- setRange(Context, Object, Object, Object, Object) - Method in class pnuts.lang.Configuration
-
Defines the semantices of an expression like:
- setRange(Object, Object, Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
This method is called by the syntax "id[from..to] = sth"
- setRelativePosition(int) - Method in class pnuts.compiler.Label
-
Fixes the position to which the label points
- setScriptEncoding(String) - Method in class pnuts.lang.Context
-
Changes the script encoding for the context
- setScriptSource(Object) - Method in exception pnuts.lang.ParseException
-
- setScriptSource(Object) - Method in class pnuts.lang.Pnuts
-
Associates a script source with this parsed (compiled) expression.
- setTerminalStream(Object, boolean) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setTerminalWriter(Writer, boolean)
- setTerminalStream(Object) - Method in class pnuts.lang.Context
-
Deprecated.
replaced by setTerminalWriter(Writer)
- setTerminalWriter(Writer) - Method in class pnuts.lang.Context
-
Set the terminal writer of the context
- setTerminalWriter(Writer, boolean) - Method in class pnuts.lang.Context
-
Set the terminal writer of the context
- setTerminationCallback(Runnable) - Method in class pnuts.tools.PnutsConsole
-
- setterSignature(Class, String) - Static method in class pnuts.compiler.Compiler
-
- setThreadContext(Context) - Static method in class pnuts.lang.Runtime
-
Gets the context bound to the current thread
- setTitle(String) - Method in class pnuts.tools.PnutsConsoleUI
-
- setTraceMode(boolean) - Method in class pnuts.compiler.Compiler
-
- setValue(String, Object) - Method in class pnuts.lang.Context
-
- setVerbose(boolean) - Method in class pnuts.compiler.FileWriterHandler
-
- setVerbose(boolean) - Method in class pnuts.compiler.ZipWriterHandler
-
- setVerbose(boolean) - Method in class pnuts.lang.Context
-
Sets the verbose mode
- setVerbose(boolean) - Static method in class pnuts.lang.Pnuts
-
Deprecated.
replaced by Context.setVerbose()
- setVerbose(boolean) - Method in class pnuts.tools.PnutsCompiler
-
Set verbose mode
- setWriter(Writer) - Method in class pnuts.lang.Context
-
Set the specified Writer as the standard writer of the context.
- setWriter(Writer, boolean) - Method in class pnuts.lang.Context
-
Set the specified Writer as the standard writer of the context.
- shift(int) - Method in class pnuts.compiler.ClassFile
-
- shift(int) - Method in class pnuts.compiler.Label
-
- shiftArithmetic(Object, Object) - Static method in class pnuts.lang.Runtime
-
>>> operation
- shiftArithmetic(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- shiftArithmeticNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- shiftArithmeticNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- ShiftExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- shiftLeft(Object, Object) - Static method in class pnuts.lang.Runtime
-
< < operation
- shiftLeft(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- shiftLeftNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- shiftLeftNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- shiftLeftNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- shiftLeftNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- shiftRight(Object, Object) - Static method in class pnuts.lang.Runtime
-
>> operation
- shiftRight(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- shiftRightNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- shiftRightNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- shiftRightNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- shiftRightNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- short_cast(Object) - Static method in class pnuts.compiler.DynamicProxyFactory
-
- SHORT_SYMBOL - Static variable in class pnuts.lang.Runtime
-
- shortcutSuffix - Static variable in class pnuts.tools.VisualDebuggerView
-
- showScript(Object, int, SimpleNode, Context) - Method in class pnuts.tools.VisualDebuggerModel
-
- signal(CommandEvent) - Method in interface pnuts.tools.CommandListener
-
Some kind of event raised, e.g.
- signal(CommandEvent) - Method in class pnuts.tools.TerminalDebugger
-
- signal(CommandEvent) - Method in class pnuts.tools.VisualDebugger
-
- signal(CommandEvent) - Method in class pnuts.tools.VisualDebuggerModel
-
- signature(Class[]) - Static method in class pnuts.compiler.ClassFile
-
- signature(Class) - Static method in class pnuts.compiler.ClassFile
-
- SimpleNode - Class in pnuts.lang
-
This class respresents a node of AST.
- SimpleNode(int) - Constructor for class pnuts.lang.SimpleNode
-
- SINGLE_LINE_COMMENT - Static variable in interface pnuts.lang.PnutsParserConstants
-
- SIPUSH - Static variable in interface pnuts.compiler.Opcode
-
- sizeOfParameters(String) - Static method in class pnuts.compiler.ClassFile
-
- sizeOfReturn(String) - Static method in class pnuts.compiler.ClassFile
-
- SLASH - Static variable in interface pnuts.lang.PnutsParserConstants
-
- specialConstructor - Variable in exception pnuts.lang.ParseException
-
This variable determines which constructor was used to create this object
and thereby affects the semantics of the "getMessage" method (see below).
- specialToken - Variable in class pnuts.lang.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- StackFrameInspector - Class in pnuts.tools
-
This class allows to enumerate local variables in pure interpreter mode.
- StackFrameInspector() - Constructor for class pnuts.tools.StackFrameInspector
-
- STAR - Static variable in interface pnuts.lang.PnutsParserConstants
-
- start(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- start(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- start(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- Start(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- start(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- start() - Method in class pnuts.tools.PnutsConsole
-
- start() - Method in class pnuts.tools.PnutsConsoleApplet
-
- startGUI() - Method in class pnuts.tools.VisualDebuggerView
-
- startNodes - Variable in class pnuts.lang.Pnuts
-
Parsed scripts
- startSet(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- startSet(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- startSet(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- StartSet(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- startSet(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- StatementExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- STATIC - Static variable in interface pnuts.lang.PnutsParserConstants
-
- staticMemberNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- staticMemberNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- staticMemberNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- StaticMemberNode() - Method in class pnuts.lang.PnutsParser
-
- staticMemberNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- staticMethodNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- staticMethodNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- staticMethodNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- StaticMethodNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- staticMethodNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- stepAction - Static variable in class pnuts.tools.VisualDebuggerView
-
- stepUpAction - Static variable in class pnuts.tools.VisualDebuggerView
-
- stopClass - Variable in class pnuts.lang.Runtime.Accessor
-
- storeLocal(int) - Method in class pnuts.compiler.ClassFile
-
- str - Variable in class pnuts.lang.SimpleNode
-
- STRING_LITERAL - Static variable in interface pnuts.lang.PnutsParserConstants
-
- STRING_LITERAL2 - Static variable in interface pnuts.lang.PnutsParserConstants
-
- stringNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- stringNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- stringNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- stringNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- subtract(Object) - Method in interface pnuts.lang.Numeric
-
Subtracts the value of parameter from the object
- subtract(Object, Object) - Static method in class pnuts.lang.Runtime
-
- operation
- subtract(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- subtract1(Object) - Static method in class pnuts.lang.Runtime
-
Subtracts 1 from a object (integer)
- subtract1(Object, Context) - Static method in class pnuts.lang.Runtime
-
- subtractNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- subtractNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- subtractNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- subtractNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- SUPER_BIT - Static variable in class pnuts.compiler.ClassGenerator
-
- SWAP - Static variable in interface pnuts.compiler.Opcode
-
- SWITCH - Static variable in interface pnuts.lang.PnutsParserConstants
-
- switchBlock(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- switchBlock(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- switchBlock(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- SwitchBlock(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- switchBlock(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- SwitchLabel(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- switchStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- switchStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- switchStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- SwitchStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- switchStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- SwitchTo(int) - Method in class pnuts.lang.PnutsParserTokenManager
-
T
- T_BOOLEAN - Static variable in interface pnuts.compiler.Opcode
-
Types for the NEWARRAY opcode.
- T_BYTE - Static variable in interface pnuts.compiler.Opcode
-
- T_CHAR - Static variable in interface pnuts.compiler.Opcode
-
- T_DOUBLE - Static variable in interface pnuts.compiler.Opcode
-
- T_FLOAT - Static variable in interface pnuts.compiler.Opcode
-
- T_INT - Static variable in interface pnuts.compiler.Opcode
-
- T_LONG - Static variable in interface pnuts.compiler.Opcode
-
- T_SHORT - Static variable in interface pnuts.compiler.Opcode
-
- TA - Static variable in interface pnuts.lang.PnutsParserConstants
-
- TABLESWITCH - Static variable in interface pnuts.compiler.Opcode
-
- TerminalDebugger - Class in pnuts.tools
-
This class implements a debugger for Pnuts interpreter.
- TerminalDebugger() - Constructor for class pnuts.tools.TerminalDebugger
-
- TerminalDebugger(Reader) - Constructor for class pnuts.tools.TerminalDebugger
-
- ternary(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- ternary(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- ternary(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ternary(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- THIS_BIT - Static variable in class pnuts.compiler.ClassGenerator
-
- THROW - Static variable in class pnuts.lang.PnutsFunction
-
- THROW - Static variable in interface pnuts.lang.PnutsParserConstants
-
- throwable - Variable in exception pnuts.lang.PnutsException
-
- throwException(Object, Context) - Static method in class pnuts.lang.Runtime
-
- throwNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- throwNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- throwNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- ThrowNode(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- throwNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- TILDE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- tipSuffix - Static variable in class pnuts.tools.VisualDebuggerView
-
- toArray() - Method in class pnuts.lang.Generator
-
- toBoolean(Object) - Static method in class pnuts.lang.Runtime
-
Convert a given object to a boolean value
- toCallable(Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Convert an object to Callable.
- toCallable(Object) - Method in class pnuts.lang.Configuration
-
Convert an object to Callable.
- toEnumeration(Object) - Method in class pnuts.ext.ConfigurationAdapter
-
Convert an object to Enumeration.
- toEnumeration(Object) - Method in class pnuts.lang.Configuration
-
Convert an object to Enumeration.
- toEnumeration(Object, Context) - Static method in class pnuts.lang.Runtime
-
- token - Variable in class pnuts.lang.PnutsParser
-
- Token - Class in pnuts.lang
-
Describes the input token stream.
- Token() - Constructor for class pnuts.lang.Token
-
- token_source - Variable in class pnuts.lang.PnutsParser
-
- tokenImage - Variable in exception pnuts.lang.ParseException
-
This is a reference to the "tokenImage" array of the generated parser
within which the parse error occurred.
- tokenImage - Static variable in interface pnuts.lang.PnutsParserConstants
-
- TokenMgrError - Error in pnuts.lang
-
- TokenMgrError() - Constructor for error pnuts.lang.TokenMgrError
-
- TokenMgrError(String, int) - Constructor for error pnuts.lang.TokenMgrError
-
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error pnuts.lang.TokenMgrError
-
- toString() - Method in class pnuts.compiler.ClassFile
-
- toString() - Method in class pnuts.lang.Function
-
- toString() - Method in class pnuts.lang.Generator
-
- toString() - Method in class pnuts.lang.Package
-
- toString() - Method in exception pnuts.lang.PnutsException
-
- toString() - Method in class pnuts.lang.PnutsException.TraceInfo
-
- toString() - Method in class pnuts.lang.PnutsFunction
-
- toString() - Method in class pnuts.lang.SimpleNode
-
- toString(String) - Method in class pnuts.lang.SimpleNode
-
- toString() - Method in class pnuts.lang.Token
-
Returns the image.
- toString() - Method in class pnuts.security.JAASPnutsImpl
-
- toString() - Method in class pnuts.security.SecurePnutsImpl
-
- trace - Variable in exception pnuts.lang.PnutsException
-
- transform(Class, Object) - Static method in class pnuts.lang.Runtime
-
- transform(Class, Object, Context) - Static method in class pnuts.lang.Runtime
-
- transformClassDefBody(SimpleNode, Class) - Static method in class pnuts.compiler.ClassGenerator
-
- TRUE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- trueNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- trueNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- trueNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- trueNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- TRY - Static variable in interface pnuts.lang.PnutsParserConstants
-
- tryStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- tryStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- tryStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- TryStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- tryStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- Type(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- TypedParam(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- TypedParamList(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
U
- ui - Variable in class pnuts.tools.Console
-
- UnaryExpression(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- UnaryExpressionNotPlusMinus(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- UnaryOperator - Class in pnuts.lang
-
Abstract base class of unary operations.
- UnaryOperator() - Constructor for class pnuts.lang.UnaryOperator
-
- UnaryOperator.Add1 - Class in pnuts.lang
-
The default implementation of ++ operator
- UnaryOperator.Add1() - Constructor for class pnuts.lang.UnaryOperator.Add1
-
- UnaryOperator.Negate - Class in pnuts.lang
-
The default implementation of unary - operator
- UnaryOperator.Negate() - Constructor for class pnuts.lang.UnaryOperator.Negate
-
- UnaryOperator.Not - Class in pnuts.lang
-
The default implementation of ~ operator
- UnaryOperator.Not() - Constructor for class pnuts.lang.UnaryOperator.Not
-
- UnaryOperator.Subtract1 - Class in pnuts.lang
-
The default implementation of -- operator
- UnaryOperator.Subtract1() - Constructor for class pnuts.lang.UnaryOperator.Subtract1
-
- undefined(Object[], Context) - Method in class pnuts.lang.PnutsFunction
-
- UNICODE_ESCAPE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- unitTable - Variable in class pnuts.lang.Context
-
- unparse() - Method in class pnuts.ext.CachedScript
-
- unparse(Context) - Method in class pnuts.lang.Function
-
- unparse() - Method in class pnuts.lang.Pnuts
-
Obtain the script code from a parsed object
- unparse(Writer) - Method in class pnuts.lang.Pnuts
-
Obtain the script code from a parsed object and write it to the specified
Writer.
- unparse(int) - Method in class pnuts.lang.PnutsFunction
-
Retrieve the symbolic definition of the function.
- unparse(SimpleNode, Context) - Static method in class pnuts.lang.Runtime
-
- unparse() - Method in class pnuts.lang.SimpleNode
-
- UNUSE - Static variable in class pnuts.lang.PnutsFunction
-
- unusePackage(Package) - Method in class pnuts.lang.Context
-
- update(Context) - Method in class pnuts.ext.CachedScript
-
Parse/compile the script and update the timestamp.
- update(ContextEvent) - Method in interface pnuts.tools.ContextListener
-
- update(Object, int, SimpleNode, Context) - Method in class pnuts.tools.VisualDebuggerView
-
Updates the view
- updateColumn(int) - Method in class pnuts.lang.Context
-
- updateLine(SimpleNode, int, int) - Method in class pnuts.lang.Context
-
AST interpreter calls this method when line number changes, giving AST nodes
and line information
Not that compiler does not call this method.
- updateLine(int) - Method in class pnuts.lang.Context
-
Both AST interpreter and compiler call this method when line number changes.
- updateLine(SimpleNode, int, int) - Method in class pnuts.tools.DebugContext
-
This method is called when line number is changed.
- USE - Static variable in class pnuts.lang.PnutsFunction
-
- usedAsModule - Variable in class pnuts.lang.Package
-
- usedPackages() - Method in class pnuts.lang.Context
-
Returns the list of use()'d packages
- useDynamicProxy(boolean) - Method in class pnuts.compiler.Compiler
-
- useDynamicProxy(boolean) - Method in class pnuts.tools.PnutsCompiler
-
Switch dynamic proxy generation
- usePackage(Package, boolean) - Method in class pnuts.lang.Context
-
- usePackage(String) - Method in class pnuts.lang.Context
-
Add a package to the use()'d package list.
- usePackage(String, boolean) - Method in class pnuts.lang.Context
-
Add a package to the use()'d package list.
V
- Value - Interface in pnuts.lang
-
Objects of this class are returned by Package.lookup() method.
- varargs - Variable in class pnuts.lang.Function
-
variable length arugments
- Visitor - Interface in pnuts.lang
-
This is the interface of Visit operations for a syntax tree.
- VisualDebugger - Class in pnuts.tools
-
- VisualDebugger() - Constructor for class pnuts.tools.VisualDebugger
-
- VisualDebuggerModel - Class in pnuts.tools
-
- VisualDebuggerModel() - Constructor for class pnuts.tools.VisualDebuggerModel
-
- VisualDebuggerView - Class in pnuts.tools
-
- VisualDebuggerView() - Constructor for class pnuts.tools.VisualDebuggerView
-
- VisualDebuggerView(ResourceBundle) - Constructor for class pnuts.tools.VisualDebuggerView
-
- VOID_SYMBOL - Static variable in class pnuts.lang.Runtime
-
W
- WHILE - Static variable in interface pnuts.lang.PnutsParserConstants
-
- whileStatement(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- whileStatement(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- whileStatement(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- WhileStatement(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- whileStatement(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
- WIDE - Static variable in interface pnuts.compiler.Opcode
-
- wrap(Map) - Static method in class pnuts.lang.Package
-
Returns a Package object that wrap the specified Map
- write(OutputStream) - Method in class pnuts.compiler.ClassFile
-
X
- XOR - Static variable in interface pnuts.lang.PnutsParserConstants
-
- xor(Object, Object) - Static method in class pnuts.lang.Runtime
-
^ operation
- xor(Object, Object, Context) - Static method in class pnuts.lang.Runtime
-
- xorNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- xorNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- xorNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- xorNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
Y
- Yield(ParseEnvironment) - Method in class pnuts.lang.PnutsParser
-
- YIELD - Static variable in interface pnuts.lang.PnutsParserConstants
-
- yieldNode(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- yieldNode(SimpleNode, Context) - Method in class pnuts.compiler.ScopeAnalyzer
-
- yieldNode(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- yieldNode(SimpleNode, Context) - Method in interface pnuts.lang.Visitor
-
Z
- ZipWriterHandler - Class in pnuts.compiler
-
This class is a concrete class of ClassFileHandler.
- ZipWriterHandler(ZipOutputStream) - Constructor for class pnuts.compiler.ZipWriterHandler
-
_
- _add - Variable in class pnuts.lang.Configuration
-
object1 + object2
- _add1 - Variable in class pnuts.lang.Configuration
-
object++, ++object
- _and - Variable in class pnuts.lang.Configuration
-
object1 & object2
- _callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.compiler.DynamicRuntime
-
- _callConstructor(Context, Class, Object[], Class[], CodeLoader) - Method in class pnuts.compiler.DynamicRuntime
-
- _callConstructor(Context, Class, Object[], Class[]) - Method in class pnuts.lang.Runtime
-
Call a constructor
- _callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.compiler.DynamicRuntime
-
call a method
- _callMethod(Context, Class, String, Object[], Class[], Object) - Method in class pnuts.lang.Runtime
-
Call a method
- _divide - Variable in class pnuts.lang.Configuration
-
object1 / object2
- _eq - Variable in class pnuts.lang.Configuration
-
object1 == object2
- _ge - Variable in class pnuts.lang.Configuration
-
object1 >= object2
- _gt - Variable in class pnuts.lang.Configuration
-
object1 > object2
- _le - Variable in class pnuts.lang.Configuration
-
object1 <= object2
- _listElements(SimpleNode, Context) - Method in class pnuts.compiler.Compiler
-
- _listElements(SimpleNode, Context) - Method in class pnuts.lang.PnutsInterpreter
-
- _lt - Variable in class pnuts.lang.Configuration
-
object1 < object2
- _mod - Variable in class pnuts.lang.Configuration
-
object1 % object2
- _multiply - Variable in class pnuts.lang.Configuration
-
object1 * object2
- _negate - Variable in class pnuts.lang.Configuration
-
- object
- _not - Variable in class pnuts.lang.Configuration
-
~object
- _or - Variable in class pnuts.lang.Configuration
-
object1 | object2
- _shiftArithmetic - Variable in class pnuts.lang.Configuration
-
object1 >>> object2
- _shiftLeft - Variable in class pnuts.lang.Configuration
-
object1 < < object2
- _shiftRight - Variable in class pnuts.lang.Configuration
-
object1 >> object2
- _subtract - Variable in class pnuts.lang.Configuration
-
object1 - object2
- _subtract1 - Variable in class pnuts.lang.Configuration
-
object--, object--
- _xor - Variable in class pnuts.lang.Configuration
-
object1 ^ object2
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _