Package pnuts.lang

This package provides the core of the Pnuts language processor.

See:
          Description

Interface Summary
AbstractData Method call of an object implements this interface causes a call of the invoke() method.
AutoloadHook This interface defines how to find the value of a undefined variable.
Callable Callable object can be the target of function call expression.
Executable 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.
Implementation Defines an abstract interface of script interpreter's implementation,
Indexed Index-access to an instance of this interface is interpreted as the set/get method call, which are defined in the implementation class.
NamedValue Objects of this class are returned by Package.lookup() method.
Numeric In Pnuts, arithmetic operations for objects implements this interface causes a call of the corresponding methods in this interface.
PackageFactory The system property "pnuts.package.factory" is specified at startup time, the package(..) builtin function calls its createPackage() method of the specified class.
ParseEnvironment This class defines how to handle ParseException thrown by the parser.
PnutsParserConstants  
PnutsParserTreeConstants  
Property In Pnuts, access to a property of an object implements this interface causes a call of methods in this interface.
QuantityFactory A factory class for unit numbers.
Runtime.FunctionSerializer  
Value Objects of this class are returned by Package.lookup() method.
Visitor This is the interface of Visit operations for a syntax tree.
 

Class Summary
BinaryOperator Abstract base class of binary operations
BinaryOperator.Add The default implementation of + operator
BinaryOperator.And The default implementation of & operator
BinaryOperator.Divide The default implementation of / operator
BinaryOperator.Mod The default implementation of % operator
BinaryOperator.Multiply The default implementation of * operator
BinaryOperator.Or The default implementation of | operator (bitwise OR)
BinaryOperator.ShiftArithmetic The default implementation of >>> operator
BinaryOperator.ShiftLeft The default implementation of < operator
BinaryOperator.ShiftRight The default implementation of > operator
BinaryOperator.Subtract The default implementation of - operator
BinaryOperator.Xor The default implementation of ^ operator
BooleanOperator Abstract base class of boolean operations
BooleanOperator.EQ The default implementation of == operator
BooleanOperator.GE The default implementation of >= operator
BooleanOperator.GT The default implementation of > operator
BooleanOperator.LE The default implementation of <= operator
BooleanOperator.LT The default implementation of < operator
Configuration 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.
Context Context represents an internal state of a particular script execution.
Function This class represents a function with a certain number of parameters.
Generator  
JavaBeansConfiguration This is a configuration for JavaBeans.
Package This class represents a Pnuts' package (not Java's).
Pnuts This class provides a set of static methods to parse/execute scripts.
PnutsException.TraceInfo A node of a call-chain, which represents a position of a certain function call
PnutsFunction A PnutsFunction represents a group of Pnuts functions with a same name.
PnutsImpl This class defines an abstract interface of script interpreter's implementation, It also gives the default implementation, which is a pure interpreter.
PnutsInterpreter The pure interpreter
PnutsParser  
PnutsParserTokenManager  
Runtime This class provides runtime supports for Pnuts compiler/interpreter.
Runtime.Accessor  
Runtime.TypeMap  
SimpleNode This class respresents a node of AST.
Token Describes the input token stream.
UnaryOperator Abstract base class of unary operations.
UnaryOperator.Add1 The default implementation of ++ operator
UnaryOperator.Negate The default implementation of unary - operator
UnaryOperator.Not The default implementation of ~ operator
UnaryOperator.Subtract1 The default implementation of -- operator
 

Exception Summary
Escape This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
Generator.Break  
Jump This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
ParseException This exception is thrown when parse errors are encountered.
PnutsException This is a wrapper class for Exception to be thrown.
Runtime.Break  
Runtime.Continue  
 

Error Summary
TokenMgrError  
 

Package pnuts.lang Description

This package provides the core of the Pnuts language processor.