All Packages Class Hierarchy
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
Index of all Fields and Methods
- add(Tree).
Method in class epp.TreeVec
- Adds a
Tree
to TreeVec
.
- addA(Tree[]).
Method in class epp.TreeVec
- Adds contents of an array of
Tree
to TreeVec
.
- addA(TreeVec).
Method in class epp.TreeVec
- Adds contents of another
TreeVec
to TreeVec
.
- addFileSignature(Tree).
Method in class epp.FileSignatureTable
- Regisers a
FileSignature
with a table.
- addTree(Symbol, Tree).
Static method in class epp.Macro
- Adds tree to a dynamic variable.
- afterCodeEmittingPass().
Method in class epp.EppCore
- Called after the execution of the main portion of the code emitting pass.
- afterMacroExpansionPass().
Method in class epp.EppCore
- Called after the execution of the main portion of the macro expansion pass.
- afterParsingPass().
Method in class epp.EppCore
- Called after the execution of the main portion of the parsing pass.
- afterTypeCheckingPass().
Method in class epp.TypeCheck
- Called after executing the main portion of the type checking pass.
- allocateDVID(Symbol).
Method in class epp.DVenvArrayShallow
-
- allOptions().
Method in class epp.Epp
-
- args().
Method in class epp.Tree
- Retrieves a subtree of an abstract syntax tree.
- argumentListToSignatureString(Tree).
Method in class epp.TypeSystem
- Converts the types of each actual parameter of
argumentList
into a single string.
- ArrayClassInfo().
Constructor for class epp.ArrayClassInfo
-
- ArrayType(Type).
Constructor for class epp.ArrayType
-
- backtrack(int).
Method in class epp.EppCore
- Returns the position of the pointer within the
EppInputStream
in argument p
, reads one token, and updates the
"look ahead token".
- backtrack(int).
Method in class epp.EppInputStream
- Moves the input pointer back to the specified position.
- beforeCodeEmittingPass().
Method in class epp.EppCore
- Called before the execution of the main portion of the code emitting pass.
- beforeMacroExpansionPass().
Method in class epp.EppCore
- Called before the execution of the main portion of the macro expansion pass.
- beforeParsingPass().
Method in class epp.EppCore
- Called before the execution of the main portion of the parsing pass.
- beforeTypeCheckingPass().
Method in class epp.TypeCheck
- Called prior to executing the main portion of the type checking pass.
- beginningPoint().
Method in class epp.Tree
- Returns the point of the starting position of this node.
- bind(Symbol, Object).
Method in class epp.DVenv
-
- bind(Symbol, Object).
Method in class epp.DVenvArrayShallow
-
- bind(Symbol, Object).
Method in class epp.DVenvForThread
-
- bind(Symbol, Object).
Static method in class epp.Dynamic
- Binds the dynamic variable
var
to value val
.
- bindInt(Symbol, int).
Static method in class epp.Dynamic
- Binds the dynamic variable
var
to value
new Integer(val)
.
- bufferSubString(int, int).
Method in class epp.EppInputStream
- Returns a string from the specified range.
- call(OutputStream, Tree).
Method in class epp.Emitter
- Converts the specified tree argument into a character string and writes it.
- call(OutputStream, Tree).
Method in class epp.SimpleEmitter
- Converts the specified tree argument into a character string and writes it.
- call(Tree).
Method in class epp.Macro
- Defines a method that expands the macro of a tree within a subclass.
- call(Tree).
Method in class epp.MacroForInvokeStyleMacro
- Defines a method that expands the macro of a tree within a subclass.
- call(Tree).
Method in class epp.TypeChecker
- Defines within a subclass, a method that type checks a tree.
- call(Tree).
Method in class epp.TypeNameChecker
- Defines a method that expands the macro of a tree within a subclass.
- call(Tree, Tree[]).
Method in class epp.InvokeStyleMacro
-
- checkArgsLength(Tree, int).
Static method in class epp.Emitter
-
- checkArgsLength(Tree, int).
Static method in class epp.Macro
- Checks the number of arguments of the node.
- checkArgsLength(Tree, int).
Static method in class epp.TypeChecker
- Checks the number of arguments of the node.
- checkArgsLength(Tree, int).
Static method in class epp.TypeNameChecker
- Checks the number of arguments of the node.
- checkEppoutDirectory().
Method in class epp.Epp
-
- checkInvocationArgsLength(Tree, int).
Static method in class epp.InvokeStyleMacro
-
- checkVariableDeclaratorId(Type, Tree, Tree[]).
Static method in class epp.TypeChecker
- Delegated to
checkVariableDeclaratorId
of the EPP preprocessor.
- checkVariableDeclaratorId(Type, Tree, Tree[]).
Method in class epp.TypeSystem
-
- classesToTypes(Class[]).
Method in class epp.ClassTypeTable
-
- ClassFileClassInfo(Tree[], boolean, Symbol, Type, Type[], FieldInfo[], MethodInfo[], MethodInfo[], ClassInfo[]).
Constructor for class epp.ClassFileClassInfo
-
- classInfo().
Method in class epp.ClassType
- Returns
ClassInfo
if this type is :class type.
- classInfo().
Method in class epp.Type
- Returns
ClassInfo
if this type is :class type.
- ClassInfo(Tree[], Symbol).
Constructor for class epp.ClassInfo
-
- classToClassInfo(Class).
Method in class epp.ClassTypeTable
- Converts a Java
Class
into a ClassInfo
using the Reflection API
.
- classToClassInfo(Class).
Method in class epp.FileSig
-
- classToType(Class).
Method in class epp.ClassTypeTable
-
- ClassType(Symbol).
Constructor for class epp.ClassType
-
- ClassTypeTable().
Constructor for class epp.ClassTypeTable
-
- clone().
Method in class epp.ArrayClassInfo
-
- codeEmittingPass().
Method in class epp.EppCore
- Executes the main portion of the code emitting pass.
- coerce(Type, Tree).
Static method in class epp.Type
-
- coerce(Type, Tree).
Method in class epp.TypeSystem
- Checks that type of argument
tree
can be used as
type type
and returns a tree.
- coerceArgumentList(Tree, MethodInfo).
Method in class epp.TypeSystem
- Coerces each actual parameter of
arguemntList
to the type selectedMethod
expects.
- collectEppCommands(String).
Method in class epp.Epp
-
- collectInputFileNames(String, Vector).
Method in class epp.Epp
-
- confirmArgs(MethodInfo, Tree).
Method in class epp.TypeSystem
- Returns true if
method
matchs argumentList
and
returns false otherwise.
- confirmType(Type, Tree).
Method in class epp.TypeSystem
- Checks that argument
type
is a super type of a type an
expression specified by the argument tree
.
- constructorToMethodInfo(Constructor).
Method in class epp.ClassTypeTable
-
- convertExpressionToType(Tree).
Method in class epp.Parser
- Converts an abstract syntax tree that was parsed as an expression into
a canonical form that describes a type.
- defaultVarEnv().
Method in class epp.TypeCheck
- Creates and returns a variable environment at the top level.
- defineEmitter(Symbol, Emitter).
Method in class epp.EppCore
-
- defineInvokeStyleMacro(Symbol, InvokeStyleMacro).
Method in class epp.EppCore
- Registers
InvokeStyleMacro
to the table.
- defineMacro(Symbol, Macro).
Method in class epp.EppCore
- Registers a macro expansion object to the table.
- defineTypeChecker(Symbol, TypeChecker).
Method in class epp.TypeCheck
- Registers a
TypeChecker
object to the table of
TypeChecker
.
- defineTypeNameChecker(Symbol, TypeNameChecker).
Method in class epp.TypeCheck
- Registers a
TypeNameChecker
object to the table of
TypeNameChecker
.
- doCodeEmittingPass().
Method in class epp.EppCore
- Calls the code emitting pass.
- doCodeEmittingPass().
Method in class epp.FileInfo
-
- doesClassExist(Tree).
Method in class epp.TypeNameTable
- Returns true if the class expressed by the fully qualified name actually
exists and is accesible, and otherwise returns false.
- doesImplement(ClassInfo, ClassInfo).
Method in class epp.TypeSystem
- Returns true if
info1
is implemented by info2
.
- doesOverride(MethodInfo, MethodInfo).
Method in class epp.FileSig
-
- doMacroExpansionPass().
Method in class epp.EppCore
- Calls the macro expansion pass.
- doMacroExpansionPass().
Method in class epp.FileInfo
-
- doParsingPass().
Method in class epp.EppCore
- Calls the parsing pass.
- doParsingPass().
Method in class epp.FileInfo
-
- doTypeCheckingPass().
Method in class epp.EppCore
- Calls the type checking pass.
- doTypeCheckingPass().
Method in class epp.FileInfo
-
- DVenv().
Constructor for class epp.DVenv
-
- DVenvArrayShallow().
Constructor for class epp.DVenvArrayShallow
-
- DVenvForThread().
Constructor for class epp.DVenvForThread
-
- Dynamic().
Constructor for class epp.Dynamic
-
- emit1(String, Tree).
Method in class epp.EppCore
- Emits
tree
as a string to outputFileName
.
- emitAdditionalHeader(OutputStream).
Method in class epp.EppCore
- Emits strings at the beginning of all files.
- emitString(OutputStream, String).
Static method in class epp.Emitter
-
- Emitter().
Constructor for class epp.Emitter
-
- emitTree(OutputStream, Tree).
Static method in class epp.Emitter
- Generates
Tree
recursively.
- endPoint().
Method in class epp.Tree
- Returns the point of the ending position of this node.
- env().
Static method in class epp.DVenvForThread
-
- Epp().
Constructor for class epp.Epp
-
- epp().
Static method in class epp.Type
-
- Epp(String, String).
Method in class epp.EppCore
- Invokes a preprocessor.
- eppCommandUsage(EppInputStream).
Method in class epp.Epp
-
- EppCore().
Constructor for class epp.EppCore
-
- EppInputStream(String).
Constructor for class epp.EppInputStream
-
- eppMain(String[]).
Method in class epp.Epp
- Called from
main
and is the actual main routine.
- eppMainRoutineError(String).
Method in class epp.Epp
-
- eppSourceVersion().
Method in class epp.EppCore
- Returns a string that specifies the version of the source code of the
main portion of EPP.
- EppUserError(String).
Constructor for class epp.EppUserError
-
- eppVersion().
Method in class epp.EppCore
- Returns a string that specifies the version of the main portion of EPP and
the version of EPP that converted the source code.
- equals(Type, Type).
Static method in class epp.Type
-
- equals(Type, Type).
Method in class epp.TypeSystem
- Returns true if
t1
and t2
are of the same type,
and returns false otherwise.
- error(String).
Static method in class epp.Emitter
-
- error(String).
Static method in class epp.Epp
- Throws
EppUserError
.
- error(String).
Method in class epp.EppCore
- Adds line number information to argument strings, and creates and returns
an instance of
EppUserError
class.
- error(String).
Static method in class epp.InvokeStyleMacro
- Called when a user error occurs while expanding the macro of
InvokeStyleMacro
.
- error(String).
Static method in class epp.Macro
- Called when an error occured while expanding a macro.
- extendMacro(Symbol, Macro).
Method in class epp.EppCore
- Extends a macro expansion object using a decorator pattern.
- extendTypeChecker(Symbol, TypeChecker).
Method in class epp.TypeCheck
- Extends the registered
TypeChecker
object using decorator
patterns.
- extendTypeNameChecker(Symbol, TypeNameChecker).
Method in class epp.TypeCheck
- Extends the registered
TypeNameChecker
object using decorator
patterns.
- fatal(String).
Static method in class epp.Epp
- Throws a fatal error message.
- FieldInfo(Tree[], Type, Symbol).
Constructor for class epp.FieldInfo
-
- fieldToFieldInfo(Field).
Method in class epp.ClassTypeTable
-
- FileInfo(String, Obj, Hashtable, DVenv).
Constructor for class epp.FileInfo
-
- fileName().
Method in class epp.EppInputStream
- Returns the file name of the current stream.
- FileSig().
Constructor for class epp.FileSig
-
- FileSignatureTable().
Constructor for class epp.FileSignatureTable
-
- generateTypeNameTable().
Method in class epp.TypeCheck
- Generates a
TypeNameTable
.
- genTemp(String).
Static method in class epp.InvokeStyleMacro
- Same as
Macro.genTemp
.
- genTemp(String).
Static method in class epp.Macro
- Called to generate a unique identifier when expanding macros.
- get(Symbol).
Method in class epp.ClassTypeTable
- Searches and returns the
Type
that corresonds to the fully
qualified symbol of a class name of an interface name.
- get(Symbol).
Method in class epp.DVenv
-
- get(Symbol).
Method in class epp.DVenvArrayShallow
-
- get(Symbol).
Method in class epp.DVenvForThread
-
- get(Symbol).
Static method in class epp.Dynamic
- Retrieves the current value of the dynamic variable
var
.
- get(Symbol).
Method in class epp.FileSignatureTable
- Returns a corresponding
TypeDeclarationSignatureTree
from
a fully qualified name symbol (example: :"jp.go.etl.epp.epp.Tree") of a
class name.
- getArrayClassInfo().
Method in class epp.ClassTypeTable
- Returns a convenient
ClassInfo
for an
:arrayOf
type.
- getc().
Method in class epp.EppInputStream
- Reads and returns one character.
- getClasses().
Method in class epp.ClassFileClassInfo
- Returns all inner classes that are members of a class.
- getClasses().
Method in class epp.ClassInfo
- Returns all inner classes that are members of a class.
- getClasses().
Method in class epp.TreeClassInfo
- Returns all inner classes that are members of a class.
- getClassNameFromFileName(String).
Static method in class epp.Epp
- Retrieves the class name from a file name.
- getClassTable().
Method in class epp.FileInfo
-
- getComponentType().
Method in class epp.ArrayType
- Returns the type of an element.
- getConstructors().
Method in class epp.ClassFileClassInfo
- Returns all constructors.
- getConstructors().
Method in class epp.ClassInfo
- Returns all constructors.
- getConstructors().
Method in class epp.TreeClassInfo
- Returns all constructors.
- getDeclaringClass().
Method in class epp.MemberInfo
- Returns the class this member was defined in.
- getDVenv().
Method in interface epp.DVenvContainer
-
- getDVenv().
Method in class epp.FileInfo
-
- getDVenv().
Method in class epp.ThreadWithDVenv
-
- getExceptionTypes().
Method in class epp.MethodInfo
- Returns the type that was defined with "throws" in this method.
- getField(Symbol).
Method in class epp.ClassFileClassInfo
- Returns fields with the name
sym
.
- getField(Symbol).
Method in class epp.ClassInfo
- Returns fields with the name
sym
.
- getField(Symbol).
Method in class epp.TreeClassInfo
- Returns fields with the name
sym
.
- getFields().
Method in class epp.ClassFileClassInfo
- Returns all fields.
- getFields().
Method in class epp.ClassInfo
- Returns all fields.
- getFields().
Method in class epp.TreeClassInfo
- Returns all fields.
- getFileSignatureFromClass(Class).
Method in class epp.FileSig
- Returns encoded
FileSignature
information included in a class
file if any.
- getInputFileName().
Method in class epp.FileInfo
-
- getInt(Symbol).
Static method in class epp.Dynamic
- Retrieves the value of type int from the dynamic variable
var
.
- getInterfaces().
Method in class epp.ClassFileClassInfo
- Returns the interface that this class implements or the interface this
interface extends.
- getInterfaces().
Method in class epp.ClassInfo
- Returns the interface that this class implements or the interface this
interface extends.
- getInterfaces().
Method in class epp.TreeClassInfo
- Returns the interface that this class implements or the interface this
interface extends.
- getMethods().
Method in class epp.ClassFileClassInfo
- Returns all methods.
- getMethods().
Method in class epp.ClassInfo
- Returns all methods.
- getMethods().
Method in class epp.TreeClassInfo
- Returns all methods.
- getModifiers().
Method in class epp.MemberInfo
- Returns the modifier of this member.
- getName().
Method in class epp.MemberInfo
- Returns the name of this member.
- getOverloadedMethods(Symbol).
Method in class epp.ClassFileClassInfo
- Returns all methods with the name
sym
.
- getOverloadedMethods(Symbol).
Method in class epp.ClassInfo
- Returns all methods with the name
sym
.
- getOverloadedMethods(Symbol).
Method in class epp.TreeClassInfo
- Returns all methods with the name
sym
.
- getParameterTypes().
Method in class epp.MethodInfo
- Returns the type of the parameter of this method.
- getPreprocessor().
Method in class epp.FileInfo
-
- getReturnType().
Method in class epp.MethodInfo
- Returns the type of the return values of this method.
- getSuperclass().
Method in class epp.ClassFileClassInfo
- Returns the super class.
- getSuperclass().
Method in class epp.ClassInfo
- Returns the super class.
- getSuperclass().
Method in class epp.TreeClassInfo
- Returns the super class.
- getTree().
Method in class epp.FileInfo
- Returns the abstract syntax tree of the current file.
- getType().
Method in class epp.FieldInfo
- Returns the type of the current field.
- Global().
Constructor for class epp.Global
-
- globalEpp(String[]).
Method in class epp.Epp
-
- globalProcessAfterMacroExpansionPass().
Method in class epp.Global
- Called when the macro expansion pass is complete.
- globalProcessAfterMacroExpansionPass(FileInfo[]).
Method in class epp.FileInfo
-
- globalProcessAfterParsingPass().
Method in class epp.Global
- Called when the parsing pass is complete.
- globalProcessAfterParsingPass(FileInfo[]).
Method in class epp.FileInfo
-
- globalProcessAfterTypeCheckingPass().
Method in class epp.Global
- Called when the type checking pass is complete.
- globalProcessAfterTypeCheckingPass(FileInfo[]).
Method in class epp.FileInfo
-
- Identifier(Symbol).
Constructor for class epp.Identifier
-
- idName().
Method in class epp.Identifier
- Returns the name of a node if it is an
Identifier
.
- idName().
Method in class epp.Tree
- Returns the name of a node if it is an
Identifier
.
- importantOptions().
Method in class epp.Epp
-
- inheritFieldInfo(Type, Tree).
Method in class epp.FileSig
-
- inheritInnerClassInfo(Type, Tree).
Method in class epp.FileSig
-
- inheritMethodInfo(Type, Tree).
Method in class epp.FileSig
-
- initEmitterTable().
Method in class epp.EppCore
- Initializes the table of
Emitter
.
- initGlobalProcessor().
Method in class epp.Global
- Called when the initialization pass is complete.
- initGlobalProcessor(FileInfo[]).
Method in class epp.FileInfo
-
- initializationPass().
Method in class epp.EppCore
- Initializes the preprocessor.
- initializationPass().
Method in class epp.FileInfo
-
- initInvokeStyleMacroTable().
Method in class epp.EppCore
- Initializes the table of
InvokeStyleMacro
.
- initMacroTable().
Method in class epp.EppCore
- Initializes
Macro.macroTable
.
- initTypeCheckerTable().
Method in class epp.TypeCheck
- Initializes the table of
TypeChecker
.
- initTypeNameCheckerTable().
Method in class epp.TypeCheck
- Initializes the table of
TypeNameChecker
.
- InnerClassEnv(Symbol, ClassInfo, InnerClassEnv).
Constructor for class epp.InnerClassEnv
-
- inputPointer().
Method in class epp.EppCore
- Returns the starting position of the look ahead token (the byte number
within the
EppInputStream
).
- intern(String).
Static method in class epp.Symbol
- Converts a string into a
Symbol
.
- InvokeStyleMacro().
Constructor for class epp.InvokeStyleMacro
-
- isAncestor(ClassInfo, ClassInfo).
Method in class epp.TypeSystem
- Returns true if
Info1
is a super class of info2
.
- isEof().
Method in class epp.EppInputStream
- Returns true if the input stream reached EOF and false otherwise.
- isGeneratedFile(String).
Static method in class epp.Epp
- Returns true if the file specified by path is a "file generated by
EPP or javac", and otherwise returns false.
- isInterface().
Method in class epp.ClassFileClassInfo
- Returns true if this ClassInfo is an interface
and false if it is a class.
- isInterface().
Method in class epp.ClassInfo
- Returns true if this ClassInfo is an interface
and false if it is a class.
- isInterface().
Method in class epp.TreeClassInfo
- Returns true if this ClassInfo is an interface
and false if it is a class.
- isLiteralToken().
Method in class epp.LiteralToken
- Returns true is this token is
LiteralToken
, false otherwise.
- isLiteralToken().
Method in class epp.Token
- Returns true if this token is a
LiteralToken
and false otherwise.
- isPrimitiveType().
Method in class epp.PrimitiveType
- Returns true if this type is a primitive type, and false otherwise.
- isPrimitiveType().
Method in class epp.Type
- Returns true if this type is a primitive type, and false otherwise.
- isSamePackage(Tree).
Method in class epp.TypeNameTable
- Returns true if the package currently processed and the package that
the
fullName
belongs match, and otherwise returns false.
- isSuperType(Type, Type).
Static method in class epp.Type
-
- isSuperType(Type, Type).
Method in class epp.TypeSystem
- Returns true if
t1
is a super type of t2
.
- isSymbol().
Method in class epp.Symbol
- Returns true if this token is a
Symbol
and false otherwise.
- isSymbol().
Method in class epp.Token
- Returns true if this token is a
Symbol
and false otherwise.
- isTyped().
Method in class epp.Tree
- Returns true if this method has type information, and false otherwise.
- Lex().
Constructor for class epp.Lex
-
- lineNumber().
Method in class epp.EppInputStream
- Returns the current line number.
- lineNumber().
Method in class epp.Tree
- Returns the line number information of this node.
- literalContents().
Method in class epp.LiteralToken
- Returns
literalContents
if this token is a
LiteralToken
.
- literalContents().
Method in class epp.Token
- Returns
literalContents
if this token
is a LiteralToken
.
- literalTag().
Method in class epp.LiteralToken
- Returns
literalTag
if this token is a LiteralTag
.
- literalTag().
Method in class epp.Token
- Returns
literalTag
if this token is a LiteralToken
.
- literalToken().
Method in class epp.LiteralTree
- Returns the
LiteralToken
the node has.
- literalToken().
Method in class epp.Tree
- Returns a
LiteralToken
that describes the contents of a
LiteralTree
if this node is a LiteralTree
.
- LiteralToken(Symbol, String).
Constructor for class epp.LiteralToken
-
- LiteralTree(LiteralToken).
Constructor for class epp.LiteralTree
-
- LiteralTree(Symbol, String).
Constructor for class epp.LiteralTree
- Corresponds to
new LiteralTree(new LiteralToken(tag, contents))
- loadDefaultConfiguration().
Method in class epp.Epp
-
- lookahead().
Method in class epp.EppCore
- Returns a look ahead token.
- lookup(Symbol).
Method in class epp.VarEnv
- Searches and returns the
VarInfo
of a variable
named name
.
- Macro().
Constructor for class epp.Macro
-
- macroExpand1(Tree).
Static method in class epp.Macro
- Expands a macro only once.
- macroExpandArray(Tree[]).
Static method in class epp.Macro
- Expands each element of the argument array and returns the result in a
new array.
- macroExpandTree(Tree).
Static method in class epp.Macro
- Expands recursively all macros.
- macroExpansionPass().
Method in class epp.EppCore
- Executes the main portion of the macro expansion pass.
- MacroForInvokeStyleMacro().
Constructor for class epp.MacroForInvokeStyleMacro
-
- main(String[]).
Static method in class epp.Epp
- Calls
eppMain
, which is the actual main routine.
- main(String[]).
Static method in class epp.Symbol
-
- main(String[]).
Static method in class epp.Tree
- Used for testing.
- makeClassInfo(Symbol).
Method in class epp.FileSig
- Creates and returns a
ClassInfo
corresponding to a fully
qualified name symbol of a class name.
- makeClassInfoFromClass(Class).
Method in class epp.FileSig
-
- makeClassInfoFromFileSignature(Symbol, Tree).
Method in class epp.FileSig
-
- makeEppGlobalProcessor().
Method in class epp.Epp
-
- makeEppObject(String, String, Object[][]).
Method in class epp.Epp
-
- makeEppPreProcessor(String, String).
Method in class epp.Epp
-
- makeFileInfo(String, Obj, Hashtable, DVenv).
Method in class epp.Epp
-
- makeFileSignature().
Method in class epp.FileInfo
-
- makeFileSignature().
Method in class epp.FileSig
- Creates and returns a
FilesSignature
from an abstract
syntax tree (self!tree) after the macro expansion pass.
- makeInputFileNameList(String[], int).
Method in class epp.Epp
-
- match(Token).
Method in class epp.EppCore
- Ensures that the look ahead token matches the argument and
advances the input pointer to the next token.
- matchAny().
Method in class epp.EppCore
- Returns the look ahead token as a value.
- maybeIdentifier().
Method in class epp.Symbol
-
- MemberInfo(Tree[], Symbol).
Constructor for class epp.MemberInfo
-
- MethodInfo(Tree[], Type, Symbol, Type[], Type[]).
Constructor for class epp.MethodInfo
-
- methodToMethodInfo(Method).
Method in class epp.ClassTypeTable
-
- modifiers().
Method in class epp.VarInfo
- Returns the modifier attached to the variable declaration.
- modifiersToString().
Method in class epp.MemberInfo
-
- modifiersToTrees(int).
Method in class epp.ClassTypeTable
-
- modifyArgs(Tree[]).
Method in class epp.Tree
- Creates and returns a
Tree
with only args of this node modified.
- modifyBeginningPoint(int).
Method in class epp.Tree
-
- modifyEndPoint(int).
Method in class epp.Tree
-
- modifyLineNumber(int).
Method in class epp.Tree
-
- modifyProperty(Symbol, Object).
Method in class epp.Tree
- Creates and returns a
Tree
with the property of this node
modified.
- modifyTypeAndArgs(Type, Tree[]).
Method in class epp.Tree
- Creates and returns a
Tree
with only types and args of this
node modified.
- moreSpecificMethod(MethodInfo, MethodInfo).
Method in class epp.TypeSystem
- Returns true iff m1 is more specific than m2.
- nameEqual(Tree, Tree).
Static method in class epp.Tree
- Compares
Tree
s that have :name
tags.
- nameToFullName(Tree).
Method in class epp.TypeNameTable
- Converts a type name of a
Tree
into a Tree
that
expresses a fully qualified name.
- nameToFullNameSymbol(Tree).
Method in class epp.TypeNameTable
- Converts a type name of a
Tree
into a Symbol
.
- nameToString().
Method in class epp.Tree
- Converts
Tree
that have :name
tags into a string.
- normalizeClass(Tree).
Method in class epp.FileSig
- Converts an abstract syntax tree of a class or interface into a
ClassSignatureTree
.
- normalizeCompilationUnit(Tree).
Method in class epp.FileSig
- Converts a
CompilationUnit
of an abstract syntax tree into a
FileSignature
.
- normalizeFields(TreeVec, Tree).
Method in class epp.FileSig
-
- normalizeMethod(Tree).
Method in class epp.FileSig
-
- normalizeParams(Tree).
Method in class epp.FileSig
-
- normalizeTypeDeclaration(Tree).
Method in class epp.FileSig
- Converts an abstract syntax tree of
TypeDeclaration
into a
TypeDeclarationSignatureTree
.
- normalizeVariableDeclaratorId(Tree, Tree).
Method in class epp.FileSig
-
- NotFound().
Constructor for class epp.NotFound
-
- NullType().
Constructor for class epp.NullType
-
- openEppInputStream(String).
Method in class epp.EppCore
- Creates and returns an
EppInputStream
stream that
reads characters from an input file.
- Opts().
Constructor for class epp.Opts
-
- outputNewlineAndIndent(OutputStream).
Static method in class epp.Emitter
-
- outputNewlineForReadability(OutputStream).
Static method in class epp.Emitter
-
- parseEppCommand(EppInputStream, Vector).
Method in class epp.Epp
-
- parseOption(String[], int).
Method in class epp.Epp
-
- Parser().
Constructor for class epp.Parser
-
- parsingPass().
Method in class epp.EppCore
- Executes the main portion of the parsing pass.
- peekc().
Method in class epp.EppInputStream
- Peeks and returns one character ahead.
- pointer().
Method in class epp.EppInputStream
- Returns the current position in the input stream.
- PrimitiveType(Symbol).
Constructor for class epp.PrimitiveType
-
- print().
Method in class epp.Token
- Prints this token to
Opts.out
.
- print().
Method in class epp.Tree
- Prints the contents to
Opts.out
in a human readable form.
- print().
Method in class epp.Type
- Prints the content to
Opts.out
in a human readable form.
- print(PrintWriter).
Method in class epp.Tree
-
- print(PrintWriter, String).
Method in class epp.Identifier
-
- print(PrintWriter, String).
Method in class epp.LiteralTree
-
- print(PrintWriter, String).
Method in class epp.Tree
-
- printAllOptions().
Method in class epp.Epp
-
- printProp(PrintWriter).
Method in class epp.Tree
-
- printUsage().
Method in class epp.Epp
-
- processFiles(String[], int).
Method in class epp.Epp
-
- processFilesAndCatchEppUserError(String[], int).
Method in class epp.Epp
-
- processPhase1(FileInfo).
Method in class epp.Epp
-
- processPhase2(FileInfo).
Method in class epp.Epp
-
- property(Symbol).
Method in class epp.Tree
- Searches and returns a property attached to a node.
- quoteString(String).
Static method in class epp.Tree
- Called by class
Identifier
and LiteralToken
.
- readCharLiteral(EppInputStream).
Method in class epp.Lex
- Called from
readOperator
when the first character of
the token is a single quote and returns a string literal.
- readEndOfLineComment(EppInputStream).
Method in class epp.Lex
- Skips comments beginning with "//" and returns the next token.
- readEscapedChar(EppInputStream, StringBuffer, char).
Method in class epp.Lex
- Handles escape sequences such as "\"".
- readFileSignatureFile(Symbol).
Method in class epp.FileSignatureTable
- This method is not implemented yet.
- readId(EppInputStream).
Method in class epp.Lex
- Reads the an identifier or keyword (if, while, etc.) and returns
it as a symbol.
- readNumber(EppInputStream).
Method in class epp.Lex
- Reads and returns a number literal.
- readOperator(EppInputStream).
Method in class epp.Lex
- Called when the first character of the token is a symbol.
- readSharp(EppInputStream).
Method in class epp.Lex
- Processes a token beginning with "#".
- readStringLiteral(EppInputStream).
Method in class epp.Lex
- Called from
readOperator
when the first character of
the token is a double quote and returns a string literal.
- readToken(EppInputStream).
Method in class epp.EppCore
- Skips space characters, calls the
readTokenStar
method, and
returns one token.
- readTokenAtNextLine(EppInputStream).
Method in class epp.Lex
- Ignores the rest of the line, reads a token from the next line and returns
that token.
- readTokenStart(EppInputStream).
Method in class epp.Lex
- Reads and returns a single token from argument
in
.
- readTraditionalComment(EppInputStream).
Method in class epp.Lex
- Skips comments beginning with "/*" and returns the next token.
- redefineEmitter(Symbol, Emitter).
Method in class epp.EppCore
-
- redefineInvokeStyleMacro(Symbol, InvokeStyleMacro).
Method in class epp.EppCore
- Redefines
InvokeStyleMacro
registerd with the table.
- resetType().
Method in class epp.Tree
- Creates and returns a
Tree
with no type information.
- resolveAmbiguousName(Tree).
Static method in class epp.TypeChecker
- Determines the meaning of an "ambiguous name" that may be a type name or
field access, and converts it into an unambiguous
Tree
.
- restoreContext().
Method in class epp.FileInfo
-
- saveContext().
Method in class epp.FileInfo
-
- selectField(Type, Symbol).
Static method in class epp.Type
-
- selectField(Type, Symbol).
Method in class epp.TypeSystem
- Returns the field named
fieldName
if targetType
has any such field.
- selectMostSpecificMethod(String, MethodInfo[], Tree).
Method in class epp.TypeSystem
- Selects and returns a single method from
methods
that
matches the argument specified by argument arguemntList
and is the most determinative.
- separateEpp(String[]).
Method in class epp.Epp
-
- set(Symbol, Object).
Method in class epp.DVenv
-
- set(Symbol, Object).
Method in class epp.DVenvArrayShallow
-
- set(Symbol, Object).
Method in class epp.DVenvForThread
-
- set(Symbol, Object).
Static method in class epp.Dynamic
- Changes the value of the dynamic variable
var
to
val
.
- setClassTable(Hashtable).
Method in class epp.FileInfo
-
- setDVenv(DVenv).
Method in class epp.FileInfo
-
- setInputFileName(String).
Method in class epp.FileInfo
-
- setInt(Symbol, int).
Static method in class epp.Dynamic
- Changes the value of the dynamic variable
var
to
new Integer(val)
.
- setMaybeIdentifierFlag().
Method in class epp.Symbol
-
- setPreprocessor(Obj).
Method in class epp.FileInfo
-
- setTree(Tree).
Method in class epp.FileInfo
- Modifies the abstract syntax tree of the current file.
- SimpleEmitter(String).
Constructor for class epp.SimpleEmitter
-
- skipComment(EppInputStream).
Method in class epp.Epp
-
- skipSpace(EppInputStream).
Method in class epp.Epp
-
- start().
Method in class epp.EppCore
- Corresponds to the non-terminal that starts the parsing.
- stringToNameTree(String).
Static method in class epp.Tree
-
- Symbol().
Constructor for class epp.Symbol
-
- tag().
Method in class epp.Tree
- Retrieves a tag that describes the type of abstract syntax tree.
- tag().
Method in class epp.Type
- Returns the tag of this type.
- ThreadWithDVenv(DVenv).
Constructor for class epp.ThreadWithDVenv
-
- toArray().
Method in class epp.TreeVec
- Converts
TreeVec
into an array of Tree
.
- Token().
Constructor for class epp.Token
-
- toString().
Method in class epp.ArrayType
-
- toString().
Method in class epp.ClassInfo
- Converts this
ClassInfo
into a human readable string.
- toString().
Method in class epp.ClassType
-
- toString().
Method in class epp.FieldInfo
- Converts the current
FieldInfo
into a human readable string.
- toString().
Method in class epp.Identifier
- Converts a tree to
String
without indentation.
- toString().
Method in class epp.LiteralToken
- Converts a
LiteralToken
into a String
for debugging.
- toString().
Method in class epp.LiteralTree
- Converts a tree to
String
without indentation.
- toString().
Method in class epp.MemberInfo
- Converts this member into a human readable string.
- toString().
Method in class epp.MethodInfo
- Converts this
MethodInfo
into a human readable string.
- toString().
Method in class epp.NullType
-
- toString().
Method in class epp.PrimitiveType
-
- toString().
Method in class epp.Symbol
- Converts a
Symbol
into a string.
- toString().
Method in class epp.Tree
- Converts a tree to
String
without indentation.
- toTree().
Method in class epp.ArrayType
- Returns a tree that describes this type in a program.
- toTree().
Method in class epp.ClassType
- Returns a tree that describes this type in a program.
- toTree().
Method in class epp.NullType
- Returns a tree that describes this type in a program.
- toTree().
Method in class epp.PrimitiveType
- Returns a tree that describes this type in a program.
- toTree().
Method in class epp.Type
- Returns a tree that describes this type in a program.
- Tree(Symbol).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree, Tree, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree, Tree, Tree, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree, Tree, Tree, Tree, Tree, Tree, Tree).
Constructor for class epp.Tree
-
- Tree(Symbol, Tree[]).
Constructor for class epp.Tree
-
- Tree(Symbol, TreeVec).
Constructor for class epp.Tree
-
- TreeClassInfo(Tree[], boolean, Symbol, Type, Type[], MethodInfo[], Hashtable, Hashtable, Hashtable).
Constructor for class epp.TreeClassInfo
-
- treeToClassInfo(Tree).
Method in class epp.FileSig
- Creates and returns a
ClassInfo
from a
ClassSignatureTree
.
- treeToFieldInfo(Tree).
Method in class epp.FileSig
-
- treeToInnerClassInfo(Tree).
Method in class epp.FileSig
-
- treeToMethodInfo(Tree).
Method in class epp.FileSig
-
- treeToType(Tree).
Method in class epp.FileSig
- Converts type names that appear in
FileSignature
into
Type
.
- TreeVec().
Constructor for class epp.TreeVec
-
- type().
Method in class epp.Parser
- Parses the non-terminal
Type
and returns the result.
- type().
Method in class epp.Tree
- Returns the node type.
- type().
Method in class epp.VarInfo
- Returns the type of a variable.
- Type(Symbol).
Constructor for class epp.Type
-
- TypeCheck().
Constructor for class epp.TypeCheck
-
- typeCheck1(Tree).
Static method in class epp.TypeChecker
- Type checks only once.
- typeCheckAndSelectMethod(Type, Symbol, Tree).
Static method in class epp.Type
-
- typeCheckAndSelectMethod(Type, Symbol, Tree).
Method in class epp.TypeSystem
- Type checks the
arguemntList
and selects a method to call.
- typeCheckArgs(Tree).
Static method in class epp.TypeChecker
- Type checks all args of a tree and returns an array of the resulting tree.
- typeCheckBlockStatement(Tree, int, Tree[], TreeVec).
Method in class epp.TypeSystem
-
- typeCheckBlockStatements(int, Tree[], TreeVec).
Static method in class epp.Type
-
- typeCheckBlockStatements(int, Tree[], TreeVec).
Method in class epp.TypeSystem
- Type checks the type of the trees after offset
i
of
args
and puts the result into newArgs
.
- TypeChecker().
Constructor for class epp.TypeChecker
-
- typeCheckingPass().
Method in class epp.TypeCheck
- Executes the main portion of the type check pass.
- typeCheckTree(Tree).
Static method in class epp.TypeChecker
- Type checks a tree recursively, and converts it into a tree with
type information.
- typeCheckVariableDeclarator(Tree, int, Tree[], TreeVec, Tree, Tree, Tree, int, Tree[], TreeVec).
Method in class epp.TypeSystem
-
- typeCheckVariableDeclarators(int, Tree[], TreeVec, Tree, Tree, Tree, int, Tree[], TreeVec).
Method in class epp.TypeSystem
-
- TypeNameChecker().
Constructor for class epp.TypeNameChecker
-
- typeNameCheckTree(Tree).
Static method in class epp.TypeChecker
- Delegated to
TypeNameChecker.typeNameCheckTree
.
- typeNameCheckTree(Tree).
Static method in class epp.TypeNameChecker
-
- TypeNameTable(Tree).
Constructor for class epp.TypeNameTable
- Receives a tree of
CompilationUnit
as an argument and
creates and returns a TypeNameTable
.
- TypeSystem().
Constructor for class epp.TypeSystem
-
- unaryNumericPromotion(Tree).
Static method in class epp.TypeChecker
- Executes an unary numeric promotion.
- unbind().
Method in class epp.DVenv
-
- unbind().
Method in class epp.DVenvArrayShallow
-
- unbind().
Method in class epp.DVenvForThread
-
- unbind().
Static method in class epp.Dynamic
- Restores the original value of the dynamic variable saved by the
bind
method.
- UnboundDynamicVariableAccessException(String).
Constructor for class epp.UnboundDynamicVariableAccessException
-
- unboundVariableAccess(Symbol).
Method in class epp.DVenvArrayShallow
-
- ungetc(char).
Method in class epp.EppInputStream
- Returns one character to the input stream.
- VarEnv(Symbol, VarInfo, VarEnv).
Constructor for class epp.VarEnv
-
- VarInfo(Tree[], Type).
Constructor for class epp.VarInfo
-
- writeFileSignatureFile(Tree).
Method in class epp.FileSignatureTable
- This method is not implemented yet.
- xxx().
Method in class epp.Parser
- Parses the non-terminal xxx and returns the resulting abstract syntax tree.
- xxx1().
Method in class epp.Parser
- Called when all alternatives of the non-terminal xxx do not match.
- xxxLeft(Tree).
Method in class epp.Parser
- Parses and returns alternatives of a non-terminal xxx that are
left recursive rules.
- xxxRight(Tree).
Method in class epp.Parser
- Parses and returns alternatives of a non-terminal xxx that are
right associative binary operators.
- xxxTop().
Method in class epp.Parser
- Parses and returns alternatives of a non-terminal xxx that can be
determined by just looking at the first token.