Serialized Form

Package bsh

Class bsh.BshMethod extends java.lang.Object implements Serializable

Serialized Fields

declaringNameSpace

 NameSpace declaringNameSpace

modifiers

 bsh.Modifiers modifiers

name

 String name

returnType

 Object returnType

argNames

 String[] argNames

numArgs

 int numArgs

argTypes

 Class[] argTypes

methodBody

 bsh.BSHBlock methodBody

Class bsh.NameSpace extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws IOException

Serialized Fields

nsName

 String nsName
The name of this namespace. If the namespace is a method body namespace then this is the name of the method. If it's a class or class instance then it's the name of the class.

parent

 NameSpace parent

variables

 Hashtable variables

methods

 Hashtable methods

importedClasses

 Hashtable importedClasses

importedPackages

 Vector importedPackages

importedCommands

 Vector importedCommands

thisReference

 This thisReference

names

 Hashtable names
Name resolver objects

callerInfoNode

 bsh.SimpleNode callerInfoNode
The node associated with the creation of this namespace. This is used support getInvocationLine() and getInvocationText().

isMethod

 boolean isMethod
Note that the namespace is a method body namespace. This is used for printing stack traces in exceptions.

nameSourceListeners

 Vector nameSourceListeners

Class bsh.Primitive extends java.lang.Object implements Serializable

Serialized Fields

value

 Object value
The primitive value stored in its java.lang wrapper class

Class bsh.This extends java.lang.Object implements Serializable

Serialized Fields

namespace

 NameSpace namespace
The namespace that this This reference wraps.

Class bsh.Token extends java.lang.Object implements Serializable

Serialized Fields

kind

 int kind
An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

beginLine

 int beginLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

beginColumn

 int beginColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endLine

 int endLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endColumn

 int endColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

image

 String image
The string image of the token.

Token next
A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

specialToken

 Token specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

B) 2000 pat@pat.net :-)