pnuts.lang |
This package provides the core of the Pnuts language processor.
|
Java Source File Name | Type | Comment |
AbstractData.java | Interface | Method call of an object implements this interface causes a call of the invoke() method. |
AutoloadHook.java | Interface | This interface defines how to find the value of a undefined variable. |
BinaryOperator.java | Class | |
Binding.java | Class | |
BooleanOperator.java | Class | |
Builtin.java | Class | |
Callable.java | Interface | Callable object can be the target of function call expression. |
Configuration.java | Class | 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. |
ConfigurationConstants.java | Class | |
Context.java | Class | Context represents an internal state of a particular script
execution. |
DefaultFunctionSerializer.java | Class | |
Escape.java | Class | This class is a special Exception class in a Pnuts runtime in that it's not
checked by exception handlers. |
Executable.java | Interface | Common interface for executable objects
Objects that represents parsed/compiled scripts implement this interface, so
that they can be executed by calling run(Context) method. |
Function.java | Class | This class represents a function with a certain number of parameters. |
Generator.java | Class | |
ImmutableBinding.java | Class | |
Implementation.java | Interface | |
Import.java | Class | |
ImportEnv.java | Class | |
Indexed.java | Interface | Index-access to an instance of this interface is interpreted as the set/get
method call, which are defined in the implementation class. |
Java2Configuration.java | Class | This class define 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. |
JavaBeansConfiguration.java | Class | This is a configuration for JavaBeans. |
JJTPnutsParserState.java | Class | |
Jump.java | Class | This class is a special Exception class in a Pnuts runtime in that it's not
checked by exception handlers. |
MerlinConfiguration.java | Class | 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. |
ModuleList.java | Class | |
NamedValue.java | Interface | Objects of this class are returned by Package.lookup() method. |
Numeric.java | Interface | In Pnuts, arithmetic operations for objects implements this interface causes
a call of the corresponding methods in this interface. |
Package.java | Class | This class represents a Pnuts' package (not Java's). |
PackageFactory.java | Interface | The system property "pnuts.package.factory" is specified at startup time, the
package(..) builtin function calls its createPackage() method of the
specified class. |
ParseEnvironment.java | Interface | This class defines how to handle ParseException thrown by the parser. |
ParseException.java | Class | This exception is thrown when parse errors are encountered. |
Pnuts.java | Class | This class provides a set of static methods to parse/execute scripts.
This object also represents a parsed script. |
PnutsException.java | Class | This is a wrapper class for Exception to be thrown. |
PnutsFunction.java | Class | A PnutsFunction represents a group of Pnuts functions with a same name.
This class is serializable, whether the function is compiled or not.
When an PnutsFunction object is serialized, the function definitions
are written to the object stream, along with its attributes such as
configuration, import environment, current package, and module list.
Note that the current package is deeply copied, but the module list are
written as an array of module names.
When the function is deserialized, the function definition is restored
from the function definition read from the object stream. |
PnutsImpl.java | Class | This class defines an abstract interface of script interpreter's
implementation, It also gives the default implementation, which is a pure
interpreter. |
PnutsInterpreter.java | Class | |
Property.java | Interface | In Pnuts, access to a property of an object implements this interface causes
a call of methods in this interface. |
PublicMemberAccessor.java | Class | This is a configuration for public field access. |
QuantityFactory.java | Interface | A factory class for unit numbers. |
Runtime.java | Class | This class provides runtime supports for Pnuts compiler/interpreter. |
SimpleCharStream.java | Class | |
SimpleFunctionSerializer.java | Class | |
SimpleNode.java | Class | This class respresents a node of AST. |
StackFrame.java | Class | |
SymbolTable.java | Class | |
TigerConfiguration.java | Class | |
Token.java | Class | Describes the input token stream. |
UnaryOperator.java | Class | Abstract base class of unary operations. |
Value.java | Interface | Objects of this class are returned by Package.lookup() method. |
Visitor.java | Interface | This is the interface of Visit operations for a syntax tree. |