|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
this
with the abstract
flag set.
Block
represents a Java block statement -- an immutable
sequence of statements.DelFactory
provides
a way of chaining together DelFactories, and default implementations
of factory methods for each node.StdErrorQueue
handles outputing error messages.ExtensionInfo
.ExtFactory
provides
a way of chaining together ExtFactories, and default implementations
of factory methods for each node.ct
that may contain abstract methods that must be
implemented by ct
.
flags
in package pkg1
is accessible from package
pkg2
.
+
when applied to numbers, and the precedence of -
.
o
appended to l
.
polyglot.types.Type
to the set
only if it has no supertypes already in the set.
SourceJob
for the Source source
.
SourceJob
for the Source source
,
with AST ast
.
ct
.
newPasses
into passes
immediately after the pass named id
.
pass
into passes
immediately after the pass named id
.
AlphaRenamer
runs over the AST and alpha-renames any local
variable declarations that it encounters.Assign
represents a Java assignment expression.AmbAssign
represents a Java assignment expression to
an as yet unknown expression.AmbExpr
is an ambiguous AST node composed of a single
identifier that must resolve to an expression.AmbExpr
is an ambiguous AST node composed of a single
identifier that must resolve to an expression.Ambiguous
represents an ambiguous AST node.AmbPrefix
is an ambiguous AST node composed of dot-separated
list of identifiers that must resolve to a prefix.AmbPrefix
is an ambiguous AST node composed of dot-separated
list of identifiers that must resolve to a prefix.AmbQualifierNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type qualifier.AmbQualifierNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type qualifier.AmbReceiver
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a receiver.AmbReceiver
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a receiver.AmbTypeNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type.AmbTypeNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type.java.lang.ArithmeticException
dims
-dimensional
array of n
.
ArrayAccess
is an immutable representation of an
access of an array member.ArrayAccess
is an immutable representation of an
access of an array member.ArrayAccessAssign
represents a Java assignment expression
to an array element.ArrayAccessAssign_c
represents a Java assignment expression
to an array element.ArrayInit
is an immutable representation of
an array initializer, such as { 3, 1, { 4, 1, 5 } }.ArrayInit
is an immutable representation of
an array initializer, such as { 3, 1, { 4, 1, 5 } }.dims
-array of this type.
dims
-array of this type.
type
type
dims
-array of type
dims
-array of type
java.lang.ArrayStoreException
ArrayType
represents an array of other types.ArrayType
represents an array of base java types.ArrayTypeNode
is a type node for a non-canonical
array type.TypeNode
represents the syntactic representation of a
Type
within the abstract syntax tree.e
is
a primitive type, and the type toType
is a reference type.
ascribe()
method is called for each expression
and is passed the type the expression is used at rather
than the type the type
checker assigns to it.
assert
statement.Assert
is an assert statement.Assign
represents a Java assignment expression.Assign
represents a Java assignment expression.BarrierPass
is a special pass that ensures that
all jobs that a given job J
depends on have completed at
least up to the last BarrierPass
that J
has
completed.Base64.InputStream
will read data from another
java.io.InputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.InputStream
in DECODE mode.
Base64.InputStream
in
either ENCODE or DECODE mode.
Base64.OutputStream
will write data to another
java.io.OutputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.OutputStream
in ENCODE mode.
Base64.OutputStream
in
either ENCODE or DECODE mode.
newPasses
into passes
immediately before the pass named id
.
pass
into passes
immediately before the pass named id
.
begin
and end
will
be performed.
n
characters.
n
characters.
Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator.Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator.&) expressions.
- BIT_AND_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- BIT_NOT -
Static variable in interface polyglot.ast.Unary
-
- BIT_OR -
Static variable in interface polyglot.ast.Binary
-
- BIT_OR -
Static variable in class polyglot.ast.Precedence
- The precedence of bitwise OR (
|) expressions.
- BIT_OR_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- BIT_XOR -
Static variable in interface polyglot.ast.Binary
-
- BIT_XOR -
Static variable in class polyglot.ast.Precedence
- The precedence of bitwise XOR (
^) expressions.
- BIT_XOR_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- bits -
Variable in class polyglot.types.Flags
- Bit set use to implement a flag set.
- BitVector - Class in polyglot.util
- A bit vector class implemented more naively than java.util.BitSet.
- BitVector() -
Constructor for class polyglot.util.BitVector
-
- BitVector(int) -
Constructor for class polyglot.util.BitVector
-
- Block - Interface in polyglot.ast
- A
Block
represents a Java block statement -- an immutable
sequence of statements. - Block(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, List) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- BLOCK -
Static variable in class polyglot.ext.jl.types.Context_c
-
- Block_c - Class in polyglot.ext.jl.ast
- A
Block
represents a Java block statement -- an immutable
sequence of statements. - Block_c(Position, List) -
Constructor for class polyglot.ext.jl.ast.Block_c
-
- body() -
Method in interface polyglot.ast.Catch
- The body of the catch block.
- body(Block) -
Method in interface polyglot.ast.Catch
- Set the body of the catch block.
- body() -
Method in interface polyglot.ast.ClassDecl
- The class's body.
- body(ClassBody) -
Method in interface polyglot.ast.ClassDecl
- Set the class's body.
- body() -
Method in interface polyglot.ast.CodeDecl
- The body of the method, constructor, or initializer.
- body(Block) -
Method in interface polyglot.ast.CodeDecl
- Set the body.
- body(Stmt) -
Method in interface polyglot.ast.Do
- Set the body of the do statement.
- body(Stmt) -
Method in interface polyglot.ast.For
- Set the loop body
- body() -
Method in interface polyglot.ast.Loop
- Loop body.
- body() -
Method in interface polyglot.ast.New
- The class body for anonymous classes, or null.
- body(ClassBody) -
Method in interface polyglot.ast.New
- Set the class body for anonymous classes.
- body() -
Method in interface polyglot.ast.Synchronized
- The body in that the lock is held.
- body(Block) -
Method in interface polyglot.ast.Synchronized
- Set the body in that the lock is held.
- body(Stmt) -
Method in interface polyglot.ast.While
- Set the loop body.
- body -
Variable in class polyglot.ext.jl.ast.Catch_c
-
- body() -
Method in class polyglot.ext.jl.ast.Catch_c
- Get the body of the catch block.
- body(Block) -
Method in class polyglot.ext.jl.ast.Catch_c
- Set the body of the catch block.
- body -
Variable in class polyglot.ext.jl.ast.ClassDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- body(ClassBody) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- body -
Variable in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Get the body of the constructor.
- body(Block) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Set the body of the constructor.
- body -
Variable in class polyglot.ext.jl.ast.Do_c
-
- body() -
Method in class polyglot.ext.jl.ast.Do_c
- Get the body of the statement.
- body(Stmt) -
Method in class polyglot.ext.jl.ast.Do_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.For_c
-
- body() -
Method in class polyglot.ext.jl.ast.For_c
- Loop body
- body(Stmt) -
Method in class polyglot.ext.jl.ast.For_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.Initializer_c
-
- body() -
Method in class polyglot.ext.jl.ast.Initializer_c
- Get the body of the initializer.
- body(Block) -
Method in class polyglot.ext.jl.ast.Initializer_c
- Set the body of the initializer.
- body -
Variable in class polyglot.ext.jl.ast.MethodDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.MethodDecl_c
- Get the body of the method.
- body(Block) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
- Set the body of the method.
- body -
Variable in class polyglot.ext.jl.ast.New_c
-
- body() -
Method in class polyglot.ext.jl.ast.New_c
-
- body(ClassBody) -
Method in class polyglot.ext.jl.ast.New_c
-
- body -
Variable in class polyglot.ext.jl.ast.Synchronized_c
-
- body() -
Method in class polyglot.ext.jl.ast.Synchronized_c
- Get the body of the statement.
- body(Block) -
Method in class polyglot.ext.jl.ast.Synchronized_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.While_c
-
- body() -
Method in class polyglot.ext.jl.ast.While_c
- Get the body of the statement.
- body(Stmt) -
Method in class polyglot.ext.jl.ast.While_c
- Set the body of the statement.
- BOOLEAN -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.qq.sym
-
- Boolean() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- BOOLEAN -
Static variable in class polyglot.ext.pao.parse.sym
-
- Boolean - Class in polyglot.ext.pao.runtime
- Boxed booleans.
- Boolean(boolean) -
Constructor for class polyglot.ext.pao.runtime.Boolean
-
- BOOLEAN -
Static variable in interface polyglot.types.PrimitiveType
-
- Boolean() -
Method in interface polyglot.types.TypeSystem
boolean
- BOOLEAN_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.qq.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.pao.parse.sym
-
- BooleanLit - Interface in polyglot.ast
- A
BooleanLit
represents a boolean literal expression. - BooleanLit(Position, boolean) -
Method in interface polyglot.ast.NodeFactory
-
- BooleanLit(Position, boolean) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- BooleanLit_c - Class in polyglot.ext.jl.ast
- A
BooleanLit
represents a boolean literal expression. - BooleanLit_c(Position, boolean) -
Constructor for class polyglot.ext.jl.ast.BooleanLit_c
-
- BooleanLiteral - Class in polyglot.lex
- Token class for boolean literals.
- BooleanLiteral(Position, boolean, int) -
Constructor for class polyglot.lex.BooleanLiteral
-
- booleanValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- booleanValue() -
Method in class polyglot.ext.pao.runtime.Boolean
-
- bootclasspath -
Variable in class polyglot.main.Options
-
- BOTTOM -
Static variable in class polyglot.visit.InitChecker
-
- boundary() -
Method in interface polyglot.ast.IntLit
- Is this a boundary case, i.e., max int or max long + 1?
- boundary() -
Method in class polyglot.ext.jl.ast.IntLit_c
-
- boxedType(PrimitiveType) -
Method in interface polyglot.ext.pao.types.PaoTypeSystem
- Returns the class type used to represent boxed values of type
t
.
- boxedType(PrimitiveType) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
-
- Branch - Interface in polyglot.ast
- A
Branch
is an immutable representation of a branch
statment in Java (a break or continue). - Branch(Position, Branch.Kind) -
Method in interface polyglot.ast.NodeFactory
-
- Branch(Position, Branch.Kind, String) -
Method in interface polyglot.ast.NodeFactory
-
- Branch(Position, Branch.Kind) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Branch(Position, Branch.Kind, String) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Branch.Kind - Class in polyglot.ast
- Branch kind: either break or continue.
- Branch.Kind(String) -
Constructor for class polyglot.ast.Branch.Kind
-
- Branch_c - Class in polyglot.ext.jl.ast
- A
Branch
is an immutable representation of a branch
statment in Java (a break or continue). - Branch_c(Position, Branch.Kind, String) -
Constructor for class polyglot.ext.jl.ast.Branch_c
-
- BREAK -
Static variable in interface polyglot.ast.Branch
-
- Break(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Break(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- BREAK -
Static variable in class polyglot.ext.coffer.parse.sym
-
- Break(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Break(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- BREAK -
Static variable in class polyglot.ext.jl.parse.sym
-
- BREAK -
Static variable in class polyglot.ext.jl.qq.sym
-
- BREAK -
Static variable in class polyglot.ext.pao.parse.sym
-
- breakupString() -
Method in class polyglot.ext.jl.ast.StringLit_c
- Break a long string literal into a concatenation of small string
literals.
- BUILD_TYPES -
Static variable in interface polyglot.frontend.Pass
- ID of the build-types pass.
- BUILD_TYPES_ALL -
Static variable in interface polyglot.frontend.Pass
- ID of the barrier after build-types.
- buildTypes(TypeBuilder) -
Method in interface polyglot.ast.NodeOps
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.AmbKeySetNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferClassDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferConstructorDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferMethodDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbQualifierNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbReceiver_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbTypeNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ArrayTypeNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Call_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Expr_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Field_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Formal_c
- Build type objects for the formal.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Import_c
- Build type objects for the import.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Initializer_c
- Build type objects for the method.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.JL_c
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Local_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.LocalDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.New_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.SourceFile_c
- Build type objects for the source file.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.TypeNode_c
-
- buildTypesEnter(TypeBuilder) -
Method in interface polyglot.ast.NodeOps
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Initializer_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.JL_c
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.New_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.SourceFile_c
- Build type objects for the source file.
- buildTypesOverride(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- bypass(Node) -
Method in class polyglot.visit.HaltingVisitor
-
- bypass(Collection) -
Method in class polyglot.visit.HaltingVisitor
-
- bypassChildren(Node) -
Method in class polyglot.visit.HaltingVisitor
-
- BYTE -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BYTE -
Static variable in class polyglot.ext.jl.parse.sym
-
- BYTE -
Static variable in class polyglot.ext.jl.qq.sym
-
- Byte() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- BYTE -
Static variable in class polyglot.ext.pao.parse.sym
-
- Byte - Class in polyglot.ext.pao.runtime
- Boxed bytes.
- Byte(byte) -
Constructor for class polyglot.ext.pao.runtime.Byte
-
- BYTE -
Static variable in interface polyglot.types.PrimitiveType
-
- Byte() -
Method in interface polyglot.types.TypeSystem
byte
- BYTE_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- byteValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- byteValue() -
Method in class polyglot.ext.pao.runtime.Byte
-
CachingResolver
memoizes another ResolverCall
is an immutable representation of a Java
method call.Call
is an immutable representation of a Java
method call.pi
can be called with
actual parameters of types actualTypes
.
CanonicalTypeNode
is a type node for a canonical type.CanonicalTypeNode
is a type node for a canonical type.mi
, false otherwise.
mi
can override mj
.
mi
.
Case
is a representation of a Java case
statement.Case
is a representation of a Java case
statement.Cast
is an immutable representation of a casting
operation.Cast
is an immutable representation of a casting
operation.Catch
represents one half of a try-catch
statement.Catch
represents one half of a try-catch
statement.char
CharLit
represents a literal in java of
char
type.CharLit
represents a literal in java of
char
type.f
are legal access flags.
ct
implements all abstract methods required;
that is, if it is a concrete class, then it must implement all
interfaces and abstract methods that it or it's superclasses declare, and if
it is an abstract class then any methods that it overrides are overridden
correctly.
ct
implements all abstract methods that it
has to; that is, if it is a concrete class, then it must implement all
interfaces and abstract methods that it or its superclasses declare.
f
are legal constructor flags.
t
has no cycles in the super type+nested class
graph starting at t
.
f
are legal field flags.
f
are legal initializer flags.
l
is used correctly.
f
are legal local class flags.
f
are legal local variable flags.
LocalInstance
s
localsUsed
, which is the set of locals used in the inner
class declared by cb
are initialized before the class declaration.
f
are legal member class flags.
f
are legal method flags.
mi
, throws
a SemanticException otherwise.
mi
cannot override
mj
.
f
are legal top-level class flags.
this
.
java.lang.Class
ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class.ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class.java.lang.ClassCastException
ClassContextResolver
looks up type names qualified with a class name.ClassDecl
represents a top-level, member, or local class
declaration.ClassDecl
is the definition of a class, abstract class,
or interface.ClassLit
represents a class literal expression.ClassLit
represents a class literal expression.ClassMember
is a method, a constructor, a field, an
initializer block, or another class declaration.ClassType
represents a class, either loaded from a
classpath, parsed from a source file, or obtained from other source.ClassType
represents a class -- either loaded from a
classpath, parsed from a source file, or obtained from other source.this
.
other
cleared.
this
with the abstract
flag clear.
this
with the final
flag clear.
this
with the interface
flag clear.
this
with the native
flag clear.
this
with the private
flag clear.
this
with the protected
flag clear.
this
with the public
flag clear.
this
with the static
flag clear.
this
with the strictfp
flag clear.
this
with the
synchronized
flag clear.
this
with the transient
flag clear.
this
with the volatile
flag clear.
java.lang.Cloneable
CodeCleaner
runs over the AST and performs some trivial
dead code elimination, while flattening blocks wherever possible.CodeInstance
contains the type information for a Java
code-chunk (a method, a constructor, or initializer).CodeWriter
is a pretty-printing engine.o
and width width_
.
CodeWriter
is a pretty-printing engine.o
and width width_
.
w
and
width width_
.
CofferClassDecl
interface.CofferConstructorDecl
interface.CofferConstructorInstance
interface.CofferNodeFactory
interface.CofferMethodDecl
interface.CofferMethodInstance
interface.CofferNodeFactory
interface.Item
s together, when the information
contained in both items is true.
source
.
id
has been completed.
CompoundResolver
resolves names using more than one
context.&&) expressions.
- COND_OR -
Static variable in interface polyglot.ast.Binary
-
- COND_OR -
Static variable in class polyglot.ast.Precedence
- The precedence of conditional OR (
||) expressions.
- condIsConstant() -
Method in interface polyglot.ast.Loop
- Returns true of cond() evaluates to a constant.
- condIsConstant() -
Method in class polyglot.ext.jl.ast.Loop_c
-
- condIsConstantTrue() -
Method in interface polyglot.ast.Loop
- Returns true if cond() is a constant that evaluates to true.
- condIsConstantTrue() -
Method in class polyglot.ext.jl.ast.Loop_c
-
- Conditional - Interface in polyglot.ast
- A
Conditional
is a representation of a Java ternary
expression. - Conditional(Position, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- CONDITIONAL -
Static variable in class polyglot.ast.Precedence
- The precedence of ternary conditional expressions.
- Conditional(Position, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Conditional_c - Class in polyglot.ext.jl.ast
- A
Conditional
is a representation of a Java ternary
expression. - Conditional_c(Position, Expr, Expr, Expr) -
Constructor for class polyglot.ext.jl.ast.Conditional_c
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.CopyPropagator
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.DataFlow
- The confluence operator for many flows.
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.DataFlow
- The confluence operator for many flows.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.DeadCodeEliminator
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.ExitChecker
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.InitChecker
- The confluence operator for
Initializer
s and
Constructor
s needs to be a
little special, as we are only concerned with non-exceptional flows in
these cases.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.InitChecker
- The confluence operator is essentially the union of all of the
inItems.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.ReachChecker
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.ReachChecker
-
- confluenceExitTerm(List, List, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- consequent() -
Method in interface polyglot.ast.Conditional
- Get the expression to evaluate when the condition is true.
- consequent(Expr) -
Method in interface polyglot.ast.Conditional
- Set the expression to evaluate when the condition is true.
- consequent() -
Method in interface polyglot.ast.If
- Get the if's then clause.
- consequent(Stmt) -
Method in interface polyglot.ast.If
- Set the if's then clause.
- consequent -
Variable in class polyglot.ext.jl.ast.Conditional_c
-
- consequent() -
Method in class polyglot.ext.jl.ast.Conditional_c
- Get the consequent of the expression.
- consequent(Expr) -
Method in class polyglot.ext.jl.ast.Conditional_c
- Set the consequent of the expression.
- consequent -
Variable in class polyglot.ext.jl.ast.If_c
-
- consequent() -
Method in class polyglot.ext.jl.ast.If_c
- Get the consequent of the statement.
- consequent(Stmt) -
Method in class polyglot.ext.jl.ast.If_c
- Set the consequent of the statement.
- CONST -
Static variable in class polyglot.ext.coffer.parse.sym
-
- CONST -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONST -
Static variable in class polyglot.ext.jl.qq.sym
-
- CONST -
Static variable in class polyglot.ext.pao.parse.sym
-
- Constant - Class in polyglot.types.reflect
- A Constant is used to represent an item in the constant pool of a class.
- Constant - Class in ppg.parse
- CUP generated class containing symbol constants.
- Constant() -
Constructor for class ppg.parse.Constant
-
- ConstantFolder - Class in polyglot.visit
- Visitor which performs constant folding.
- ConstantFolder(TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstantFolder
-
- constants -
Variable in class polyglot.types.reflect.ClassFile
-
- constants() -
Method in class polyglot.types.reflect.ClassFile
-
- constantValue() -
Method in interface polyglot.ast.Expr
- Returns the constant value of the expression, if any.
- constantValue() -
Method in class polyglot.ext.jl.ast.Binary_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.BooleanLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Cast_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.CharLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.ClassLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Conditional_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Field_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.FloatLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.IntLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Lit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Local_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.NullLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.StringLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Unary_c
-
- constantValue(Object) -
Method in class polyglot.ext.jl.types.FieldInstance_c
- Non-destructive update of constant value.
- constantValue(Object) -
Method in class polyglot.ext.jl.types.LocalInstance_c
-
- constantValue -
Variable in class polyglot.ext.jl.types.VarInstance_c
-
- constantValue() -
Method in class polyglot.ext.jl.types.VarInstance_c
-
- constantValue(Object) -
Method in interface polyglot.types.FieldInstance
- Set the constant value of the field.
- constantValue(Object) -
Method in interface polyglot.types.LocalInstance
- Set the local's constant value.
- constantValue() -
Method in interface polyglot.types.VarInstance
- The variable's constant value, or null.
- constraint() -
Method in interface polyglot.ext.coffer.ast.ThrowConstraintNode
-
- constraint(ThrowConstraint) -
Method in interface polyglot.ext.coffer.ast.ThrowConstraintNode
-
- constraint() -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- constraint(ThrowConstraint) -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- constructFullClasspath() -
Method in class polyglot.main.Options
-
- constructItemsFromCondition(Expr, DataFlow.Item, Set, DataFlow.ConditionNavigator) -
Static method in class polyglot.visit.DataFlow
- This utility method is meant to be used by subclasses to help them
produce appropriate
Item
s for the
FlowGraph.EDGE_KEY_TRUE
and
FlowGraph.EDGE_KEY_FALSE
edges from a boolean condition.
- CONSTRUCTOR -
Static variable in exception polyglot.types.NoMemberException
-
- CONSTRUCTOR_CHECK -
Static variable in interface polyglot.frontend.Pass
- ID of the constructor-check pass.
- CONSTRUCTOR_FLAGS -
Variable in class polyglot.ext.jl.types.TypeSystem_c
- All flags allowed for a constructor.
- ConstructorCall - Interface in polyglot.ast
- A
ConstructorCall
represents a direct call to a constructor. - ConstructorCall(Position, ConstructorCall.Kind, List) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorCall(Position, ConstructorCall.Kind, Expr, List) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorCall(Position, ConstructorCall.Kind, List) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- ConstructorCall(Position, ConstructorCall.Kind, Expr, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ConstructorCall.Kind - Class in polyglot.ast
- Constructor call kind: either "super" or "this".
- ConstructorCall.Kind(String) -
Constructor for class polyglot.ast.ConstructorCall.Kind
-
- ConstructorCall_c - Class in polyglot.ext.jl.ast
- A
ConstructorCall_c
represents a direct call to a constructor. - ConstructorCall_c(Position, ConstructorCall.Kind, Expr, List) -
Constructor for class polyglot.ext.jl.ast.ConstructorCall_c
-
- ConstructorCallChecker - Class in polyglot.visit
- Visitor which ensures that constructor calls are not recursive.
- ConstructorCallChecker(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstructorCallChecker
-
- ConstructorDecl - Interface in polyglot.ast
- A
ConstructorDecl
is an immutable representation of a
constructor declaration as part of a class body. - ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ConstructorDecl_c - Class in polyglot.ext.jl.ast
- A
ConstructorDecl
is an immutable representation of a
constructor declaration as part of a class body. - ConstructorDecl_c(Position, Flags, String, List, List, Block) -
Constructor for class polyglot.ext.jl.ast.ConstructorDecl_c
-
- constructorInstance() -
Method in interface polyglot.ast.ConstructorCall
- The constructor that is called.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.ConstructorCall
- Set the constructor to call.
- constructorInstance() -
Method in interface polyglot.ast.ConstructorDecl
- The constructor type object.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.ConstructorDecl
- Set the constructor's type object.
- constructorInstance() -
Method in interface polyglot.ast.New
- The constructor invoked by this expression.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.New
- Set the constructor invoked by this expression.
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- constructorInstance() -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
- Get the constructor we are calling.
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
- Set the constructor we are calling.
- constructorInstance() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Get the constructorInstance of the constructor.
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Set the constructorInstance of the constructor.
- constructorInstance() -
Method in class polyglot.ext.jl.ast.New_c
-
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.New_c
-
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- ConstructorInstance - Interface in polyglot.types
- A
ConstructorInstance
contains type information for a
constructor. - constructorInstance(TypeSystem, ClassType, Field[]) -
Method in class polyglot.types.reflect.Method
-
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in interface polyglot.types.TypeSystem
- Create a constructor instance.
- ConstructorInstance_c - Class in polyglot.ext.jl.types
- A
ConstructorInstance
contains type information for a
constructor. - ConstructorInstance_c() -
Constructor for class polyglot.ext.jl.types.ConstructorInstance_c
- Used for deserializing types.
- ConstructorInstance_c(TypeSystem, Position, ClassType, Flags, List, List) -
Constructor for class polyglot.ext.jl.types.ConstructorInstance_c
-
- constructorInvocations -
Variable in class polyglot.visit.ConstructorCallChecker
-
- constructors() -
Method in class polyglot.ext.jl.types.ClassType_c
- Get the class's constructors.
- constructors -
Variable in class polyglot.ext.jl.types.ParsedClassType_c
-
- constructors() -
Method in class polyglot.ext.jl.types.ParsedClassType_c
- Return a mutable list of constructors
- constructors() -
Method in class polyglot.ext.param.types.SubstClassType_c
- Get the class's constructors.
- constructors() -
Method in interface polyglot.types.ClassType
- The class's constructors.
- constructPostCompilerClasspath() -
Method in class polyglot.main.Options
-
- container() -
Method in class polyglot.ext.jl.types.ClassType_c
- Get the container class if a member class.
- container(ClassType) -
Method in class polyglot.ext.jl.types.ConstructorInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.FieldInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.FieldInstance_c
-
- container(ReferenceType) -
Method in class polyglot.ext.jl.types.FieldInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.InitializerInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.InitializerInstance_c
-
- container(ClassType) -
Method in class polyglot.ext.jl.types.InitializerInstance_c
-
- container(ReferenceType) -
Method in class polyglot.ext.jl.types.MethodInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.ProcedureInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.ProcedureInstance_c
-
- container(ClassType) -
Method in interface polyglot.types.ConstructorInstance
- Set the containing class of the constructor.
- container(ReferenceType) -
Method in interface polyglot.types.FieldInstance
- Set the containing class of the field.
- container(ClassType) -
Method in interface polyglot.types.InitializerInstance
- Set the initializer's containing class.
- container() -
Method in interface polyglot.types.MemberInstance
- Return the member's containing type.
- container(ReferenceType) -
Method in interface polyglot.types.MethodInstance
- Set the method's containing type.
- contains(Key) -
Method in interface polyglot.ext.coffer.types.KeySet
-
- contains(Key) -
Method in class polyglot.ext.coffer.types.KeySet_c
-
- contains(Flags) -
Method in class polyglot.types.Flags
- Check if all flags in
other
are set.
- contains(Object) -
Method in class polyglot.util.NestedMap.KeySet
-
- contains(Object) -
Method in class polyglot.util.SubtypeSet
- Check whether object
o
is in the set.
- contains(Object) -
Method in class polyglot.util.TypedList
-
- containsAll(KeySet) -
Method in interface polyglot.ext.coffer.types.KeySet
-
- containsAll(KeySet) -
Method in class polyglot.ext.coffer.types.KeySet_c
-
- containsAll(Collection) -
Method in class polyglot.util.SubtypeSet
- Checks whether all elements of the collection are in the set
- containsAll(Collection) -
Method in class polyglot.util.TypedList
-
- containsKey(Object) -
Method in class polyglot.util.NestedMap
-
- containsKey(Object) -
Method in class polyglot.util.NilMap
-
- containsSubtype(Type) -
Method in class polyglot.util.SubtypeSet
- Check whether the type
t
or a subtype is in the set.
- containsValue(Object) -
Method in class polyglot.util.NilMap
-
- context -
Variable in class polyglot.frontend.InnerJob
- The context in which this Job was spawned.
- context() -
Method in class polyglot.frontend.InnerJob
-
- context() -
Method in class polyglot.frontend.Job
- By default, a
Job
does not have a context associated
with it.
- context -
Static variable in class polyglot.main.Report
-
- Context - Interface in polyglot.types
- A context represents a stack of scopes used for looking up types, methods,
and variables.
- context -
Variable in class polyglot.visit.ContextVisitor
- The current context of this visitor.
- context() -
Method in class polyglot.visit.ContextVisitor
- Returns the context for this visitor.
- context(Context) -
Method in class polyglot.visit.ContextVisitor
- Returns a new ContextVisitor that is a copy of the current visitor,
except with an updated context.
- context -
Variable in class polyglot.visit.Translator
-
- context(Context) -
Method in class polyglot.visit.Translator
- Create a new
Translator
identical to this
but
with new context c
- context() -
Method in class polyglot.visit.Translator
- Get the current context in which we are translating.
- Context_c - Class in polyglot.ext.jl.types
- This class maintains a context for looking up named variables, types,
and methods.
- Context_c(TypeSystem) -
Constructor for class polyglot.ext.jl.types.Context_c
-
- Context_c.Kind - Class in polyglot.ext.jl.types
-
- Context_c.Kind(String) -
Constructor for class polyglot.ext.jl.types.Context_c.Kind
-
- ContextVisitor - Class in polyglot.visit
- A visitor which maintains a context throughout the visitor's pass.
- ContextVisitor(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ContextVisitor
-
- CONTINUE -
Static variable in interface polyglot.ast.Branch
-
- Continue(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Continue(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- CONTINUE -
Static variable in class polyglot.ext.coffer.parse.sym
-
- Continue(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Continue(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- CONTINUE -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONTINUE -
Static variable in class polyglot.ext.jl.qq.sym
-
- CONTINUE -
Static variable in class polyglot.ext.pao.parse.sym
-
- continueTarget() -
Method in interface polyglot.ast.Loop
- Target of a continue statement in the loop body.
- continueTarget() -
Method in class polyglot.ext.jl.ast.Do_c
-
- continueTarget() -
Method in class polyglot.ext.jl.ast.For_c
-
- continueTarget() -
Method in class polyglot.ext.jl.ast.While_c
-
- copy() -
Method in class polyglot.ext.jl.ast.Ext_c
- Copy the extension.
- copy() -
Method in class polyglot.ext.jl.ast.Node_c
-
- copy() -
Method in class polyglot.ext.jl.types.Context_c
-
- copy() -
Method in class polyglot.ext.jl.types.TypeObject_c
-
- Copy - Interface in polyglot.util
- Interface used to copy objects.
- copy() -
Method in interface polyglot.util.Copy
-
- copy(List, Class, boolean) -
Static method in class polyglot.util.TypedList
- Requires:
not null, and every element of may be
cast to class .
- copy() -
Method in class polyglot.util.TypedList
- Copies this list.
- copy() -
Method in class polyglot.visit.CFGBuilder
- Copy the CFGBuilder.
- copy() -
Method in class polyglot.visit.HaltingVisitor
-
- copy() -
Method in class polyglot.visit.Translator
- Copy the translator.
- copyAndCheck(List, Class, boolean) -
Static method in class polyglot.util.TypedList
- Creates a new TypedList, containing all the elements of
,
which restricts all members to belong to class .
- CopyPropagator - Class in polyglot.visit
- Visitor which performs copy propagation.
- CopyPropagator(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.CopyPropagator
-
- CopyPropagator.DataFlowItem - Class in polyglot.visit
-
- CopyPropagator.DataFlowItem() -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem
- Constructor for creating an empty set.
- CopyPropagator.DataFlowItem(CopyPropagator.DataFlowItem) -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem
- Deep copy constructor.
- CopyPropagator.DataFlowItem.CopyInfo - Class in polyglot.visit
-
- CopyPropagator.DataFlowItem.CopyInfo(LocalInstance) -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem.CopyInfo
-
- count -
Variable in class polyglot.visit.InitChecker.InitCount
-
- cppBackend() -
Method in class polyglot.main.Options
- HACK: This method really, for cleanliness, should not exist.
- cr -
Variable in class polyglot.types.PackageContextResolver
-
- createAttribute(DataInputStream, String, int, int) -
Method in class polyglot.types.reflect.ClassFile
-
- createCFGBuilder(TypeSystem, FlowGraph) -
Method in class polyglot.visit.DataFlow
- Construct a CFGBuilder.
- createClassFile(File, byte[]) -
Method in class polyglot.frontend.AbstractExtensionInfo
-
- createClassFile(File, byte[]) -
Method in interface polyglot.frontend.ExtensionInfo
- Create class file
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- createClassType() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(Source) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
- Returns a new instance of
PaoParsedClassType_c
- createClassType(LazyClassInitializer) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType() -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType(LazyClassInitializer, Source) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType(Source) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createContext() -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- createContext() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createContext() -
Method in interface polyglot.types.TypeSystem
- Create a new context object for looking up variables, types, etc.
- createDefUseFinder(Set, Set) -
Method in class polyglot.visit.DeadCodeEliminator
-
- createField(DataInputStream) -
Method in class polyglot.types.reflect.ClassFile
-
- createFlag(String, Flags) -
Static method in class polyglot.types.Flags
- Return a new Flags object with a new name.
- createFlag(String, String, String, Flags) -
Static method in class polyglot.types.Flags
- Return a new Flags object with a new name.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.CopyPropagator
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.DataFlow
- Create an initial Item for the term node.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.DeadCodeEliminator
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.ExitChecker
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.InitChecker
- The initial item to be given to the entry point of the dataflow contains
the init counts for the final fields.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.ReachChecker
-
- createJob(Node, Context, Job, Pass.ID, Pass.ID) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create a new non-
SourceJob
Job
, for the
given AST.
- createMethod(DataInputStream) -
Method in class polyglot.types.reflect.ClassFile
-
- createNewFlag(String, Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createNewFlag(String, Flags) -
Method in interface polyglot.types.TypeSystem
- Create a new unique Flags object.
- createNodeFactory() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.jl.ExtensionInfo
- Create the node factory for this extension.
- createNodeFactory() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create the node factory for this extension.
- createNull() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createOptions() -
Method in class polyglot.frontend.AbstractExtensionInfo
-
- createPackage(Package, String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPackage(String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPackage(String) -
Method in interface polyglot.types.TypeSystem
- Return a package by name.
- createPackage(Package, String) -
Method in interface polyglot.types.TypeSystem
- Return a package by name with the given outer package.
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
- Returns a new instance of
PaoPrimitiveType_c
- createSourceJob(Source, Node) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create a new
SourceJob
for the given source and AST.
- createTypeSystem() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.jl.ExtensionInfo
- Create the type system for this extension.
- createTypeSystem() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create the type system for this extension.
- cScope(String) -
Static method in class polyglot.visit.Translator
- Turns a package or class name from Java "x.y.z" format
into a C-style scope ("x::y::z")
- CupParser - Class in polyglot.frontend
- A parser implemented with a Cup generated-parser.
- CupParser(lr_parser, Source, ErrorQueue) -
Constructor for class polyglot.frontend.CupParser
-
- CUPSpec - Class in ppg.spec
-
- CUPSpec(String, Vector, Vector, Vector, Vector, String, Vector) -
Constructor for class ppg.spec.CUPSpec
-
- currCBI -
Variable in class polyglot.visit.InitChecker
-
- current_dir() -
Static method in class polyglot.frontend.SourceLoader
- The current user directory.
- currentClass() -
Method in class polyglot.ext.jl.types.Context_c
- Gets current class
- currentClass() -
Method in interface polyglot.types.Context
- Return the innermost class in scope.
- currentClass() -
Method in class polyglot.visit.TypeBuilder
-
- currentClassScope() -
Method in class polyglot.ext.jl.types.Context_c
- Gets current class
- currentClassScope() -
Method in interface polyglot.types.Context
- Return the innermost class in scope.
- currentCode() -
Method in class polyglot.ext.jl.types.Context_c
- Gets the current method
- currentCode() -
Method in interface polyglot.types.Context
- Return the innermost method or constructor in scope.
- currentFlowGraph() -
Method in class polyglot.visit.DataFlow
- Return the
FlowGraph
at the top of the stack.
- currentJob -
Variable in class polyglot.frontend.AbstractExtensionInfo
- The currently running job, or null if no job is running.
- currentPackage() -
Method in class polyglot.visit.TypeBuilder
-
- currentParents -
Variable in class polyglot.visit.NodeScrambler
-
- cw -
Variable in class polyglot.visit.NodeScrambler
-
- CyclicDependencyException - Exception in polyglot.frontend
- Thrown during when the compiler tries to run a pass that is
already running.
- CyclicDependencyException() -
Constructor for exception polyglot.frontend.CyclicDependencyException
-
- CyclicDependencyException(String) -
Constructor for exception polyglot.frontend.CyclicDependencyException
-
CodeDecl
provided, and call
dataflow(FlowGraph)
.
Expr
provided, and call
dataflow(FlowGraph)
.
Item
s, one being the
Item
that is used when an expression is true, the
other being the one that is used when an expression is false.Item
contains the data which flows during the dataflow
analysis.CodeDecl
, or on leaving a CodeDecl
.
AmbAssign
AST node.
AmbExpr
AST node.
AmbPrefix
AST node.
AmbQualifierNode
AST node.
AmbReceiver
AST node.
AmbTypeNode
AST node.
ArrayAccessAssign
AST node.
ArrayAccess
AST node.
ArrayInit
AST node.
ArrayTypeNode
AST node.
Assert
AST node.
Assign
AST node.
Block
AST node.
BooleanLit
AST node.
Branch
AST node.
Call
AST node.
CanonicalTypeNode
AST node.
Case
AST node.
Cast
AST node.
Catch
AST node.
CharLit
AST node.
ClassBody
AST node.
ClassDecl
AST node.
ClassLit
AST node.
ClassMember
AST node.
CodeDecl
AST node.
Conditional
AST node.
ConstructorCall
AST node.
ConstructorDecl
AST node.
Do
AST node.
Empty
AST node.
Eval
AST node.
Expr
AST node.
DelFactory
constructs delegates.FieldAssign
AST node.
FieldDecl
AST node.
Field
AST node.
FloatLit
AST node.
For
AST node.
Formal
AST node.
If
AST node.
Import
AST node.
Initializer
AST node.
Instanceof
AST node.
IntLit
AST node.
Labeled
AST node.
Lit
AST node.
LocalAssign
AST node.
LocalClassDecl
AST node.
LocalDecl
AST node.
Local
AST node.
Loop
AST node.
MethodDecl
AST node.
NewArray
AST node.
New
AST node.
Node
AST node.
NullLit
AST node.
NumLit
AST node.
PackageNode
AST node.
ProcedureDecl
AST node.
Return
AST node.
SourceCollection
AST node.
SourceFile
AST node.
Special
AST node.
Stmt
AST node.
StringLit
AST node.
SwitchBlock
AST node.
SwitchElement
AST node.
Switch
AST node.
Synchronized
AST node.
Term
AST node.
Throw
AST node.
Try
AST node.
TypeNode
AST node.
Unary
AST node.
While
AST node.
Source
s that this SourceJob depends upon.
Source
s that depend on this job.
ancestor
.
ancestor
.
ancestor
.
true
if ancestor
is the
Object
type, as primitives are considered a
subtype of Object
.
ancestor
.
do
statement.do
statement.double
p
to q
.
p
to q
.
Empty
is the class for a empty statement (i.e., ;
).Empty
is the class for a empty statement (;)
.EmptyPass
does nothing.begin
and end
will
be performed.
begin
.
begin
.
Pass pass
on SourceJob job
make sure that all appropriate scheduling invariants are satisfied,
to ensure that all passes of other jobs that job
depends
on will have already been done.
n
.
n
.
n
.
ascribe()
.
enter()
method; all
sub-classes should over-ride this method instead of
enter()
if there is any chance of exceptions being
generated.
n
.
enter()
should its call to enterCall()
throw a
SemanticException
.
child
.
child
.
child
.
SwitchBlock
differs from a normal block in that
declarations made in the context of the switch block are in the scope
following the switch block.
parent
), and the Node that is being
entered (n
).
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
o == p
when o
or
p
could be a boxed primitive.
a
and b
are
pointer equal, or if iterators over both return the same
sequence of pointer equal elements.
t
.
java.lang.Error
error
Symbol index.
error
Symbol index.
error
Symbol index.
error
Symbol index.
error
Symbol index.
ErrorQueue
handles outputing error messages.ErrorQueue
for the current Job.
Eval
is a statement that evaluates an expression then
discards the result.Eval
is a wrapper for an expression in the context of
a statement.java.lang.Exception
Exceptions
from scratch.
Expr
represents any Java expression.Expr
represents any Java expression.e
into a type, yielding a TypeNode
.
Ext
is the super type of all node extension objects.Ext
is the super type of all node extension objects.Ext
object for a AmbAssign
AST node.
Ext
object for a AmbExpr
AST node.
Ext
object for a AmbPrefix
AST node.
Ext
object for a AmbQualifierNode
AST node.
Ext
object for a AmbReceiver
AST node.
Ext
object for a AmbTypeNode
AST node.
Ext
object for a ArrayAccessAssign
AST node.
Ext
object for a ArrayAccess
AST node.
Ext
object for a ArrayInit
AST node.
Ext
object for a ArrayTypeNode
AST node.
Ext
object for a Assert
AST node.
Ext
object for a Assign
AST node.
Ext
object for a Binary
AST node.
Ext
object for a Block
AST node.
Ext
object for a BooleanLit
AST node.
Ext
object for a Branch
AST node.
Ext
object for a Call
AST node.
Ext
object for a CanonicalTypeNode
AST node.
Ext
object for a Case
AST node.
Ext
object for a Cast
AST node.
Ext
object for a Catch
AST node.
Ext
object for a CharLit
AST node.
Ext
object for a ClassBody
AST node.
Ext
object for a ClassDecl
AST node.
Ext
object for a ClassLit
AST node.
Ext
object for a ClassMember
AST node.
Ext
object for a CodeDecl
AST node.
Ext
object for a Conditional
AST node.
Ext
object for a ConstructorCall
AST node.
Ext
object for a ConstructorDecl
AST node.
Ext
object for a Do
AST node.
Ext
object for a Empty
AST node.
ExtensionInfo
for the Java language.ExtensionInfo
is the main interface for defining language
extensions.Ext
object for a Eval
AST node.
Ext
object for a Expr
AST node.
ExtFactory
constructs extensions.Ext
object for a FieldAssign
AST node.
Ext
object for a FieldDecl
AST node.
Ext
object for a Field
AST node.
Ext
object for a FloatLit
AST node.
Ext
object for a For
AST node.
Ext
object for a Formal
AST node.
Ext
object for a If
AST node.
Ext
object for a Import
AST node.
Ext
object for a Initializer
AST node.
Ext
object for a Instanceof
AST node.
Ext
object for a IntLit
AST node.
Ext
object for a Labeled
AST node.
Ext
object for a Lit
AST node.
Ext
object for a LocalAssign
AST node.
Ext
object for a LocalClassDecl
AST node.
Ext
object for a LocalDecl
AST node.
Ext
object for a Local
AST node.
Ext
object for a Loop
AST node.
Ext
object for a MethodDecl
AST node.
Ext
object for a NewArray
AST node.
Ext
object for a New
AST node.
Ext
object for a Node
AST node.
Ext
object for a NullLit
AST node.
Ext
object for a NumLit
AST node.
Ext
object for a PackageNode
AST node.
Ext
object for a ProcedureDecl
AST node.
Ext
object for a Return
AST node.
Ext
object for a SourceCollection
AST node.
Ext
object for a SourceFile
AST node.
Ext
object for a Special
AST node.
Ext
object for a Stmt
AST node.
Ext
object for a StringLit
AST node.
Ext
object for a SwitchBlock
AST node.
Ext
object for a SwitchElement
AST node.
Ext
object for a Switch
AST node.
Ext
object for a Synchronized
AST node.
Ext
object for a Term
AST node.
Ext
object for a Throw
AST node.
Ext
object for a Try
AST node.
Ext
object for a TypeNode
AST node.
Ext
object for a Unary
AST node.
Ext
object for a While
AST node.
Field
is an immutable representation of a Java field
access.Field
is an immutable representation of a Java field
access.FieldAssign
represents a Java assignment expression to
a field.FieldAssign_c
represents a Java assignment expression to
a field.FieldDecl
is an immutable representation of the declaration
of a field of a class.FieldDecl
is an immutable representation of the declaration
of a field of a class.FieldInstance
contains type information for a field.FieldInstance
contains type information for a field.name
, or null.
Source
represents a source file.Item
s to contain only Item
s
that are associated with the given EdgeKey
.
Item
s to contain only Item
s
that are associated with exception flows, whose exception is a subclass
of excType
.
Item
s to contain only Item
s
that are not associated with error flows, that is, only
Item
s whose associated EdgeKey
s are not
FlowGraph.ExceptionEdgeKey
s with a type that is a subclass
of TypeSystem.Error()
.
Item
s to contain only Item
s
that are not associated with exception flows, that is, only
Item
s whose associated EdgeKey
s are not
FlowGraph.ExceptionEdgeKey
s.
this
with the final
flag set.
name
defined
in type container
or a supertype, and visible from
currClass
.
name
defined
in type container
or a supertype.
name
defined
in type container
or a supertype.
cd
.
initializer
.
Job
that pass p
has finished.
Flags
is an immutable set of class, method, or field modifiers.float
FloatLit
represents a literal in java of type
float
or double
.FloatLit
represents a literal in java of type
float
or double
.Item
s as appropriate for the
Term n
and the input Item in
.
Item
s as appropriate for the
Term n
and the input Item
s.
CollectionUtil
).Peer
is an occurance of an AST node in a flow graph.FlowGraphSource
.
confluence
on each of these three collections
as neccessary, and passes the results to
flow(Item, Item, Item, FlowGraph, Term, Set).
flush
, but passing format=false
causes output to be generated in the fastest way possible, with
all breaks broken.
for
statement.for
statement.ForInit
represents a statement that can be used as a
initializer in a "for" statement.Formal
represents a formal parameter to a method
or constructor or to a catch block.Formal
represents a formal parameter for a procedure
or catch block.this
.
ForUpdate
represents a statement that can be used as an
iterator in a "for" statement.Source
that this class type
was loaded from.
begin
and
end
inclusive.
Job
should go
through.
id
.
t
.
GlobalBarrierPass
is a special pass that ensures that
before a job J
can run a GlobalBarrierPass
,
every currently active job must have completed all passes up to the
same GlobalBarrierPass
.BoolItem
for an expression that is not
a boolean operator, such as &&, &, ||, | or !.
encl
.
inner
has an
enclosing instance of class encl
.
encl
.
hasEnclosingInstance
.
p
has exactly the formal arguments
formalTypes
.
t
has the method mi
.
t
has a method with name name
either defined in t
or inherited into it.
Translator
identical to this
,
except: a) wrapped inside a HeaderTranslator object, and b) with
a new context c
if
statement.if
statement.mi
implements, in no
specified order.
Import
is an immutable representation of a Java
import
statement.Import
is an immutable representation of a Java
import
statement.Importable
is a type object that can be imported by another
type object.ImportTable
is a type of ClassResolver
that
corresponds to a particular source file.passes
field and the
passMap
field.
ct
's constructors.
ct
's constructors.
ct
's fields.
ct
's fields.
FlowGraph
to be used in the dataflow
analysis.
Initializer
is an immutable representation of an
initializer block in a Java class (which appears outside of any
method).Initializer
is an immutable representation of an
initializer block in a Java class (which appears outside of any
method).InitializerInstance
contains the type information for a
static or anonymous initializer.InitializerInstance
contains the type information for a
static or anonymous initializer.ct
's interfaces.
ct
's interfaces.
ct
's member classes.
ct
's member classes.
ct
's methods.
ct
's methods.
InnerJob
encapsulates work done by the compiler for a
nested class.Instanceof
is an immutable representation of
the use of the instanceof
operator.instanceof
expressions.
Instanceof
is an immutable representation of
the use of the instanceof
operator.this
.
int
this
with the interface
flag set.
other
are set.
IntLit
represents a literal in Java of an integer
type.IntLit
represents a literal in Java of an integer
type.this
has the abstract
flag set.
type
is a canonical
(fully qualified) type.
toType
.
toType
.
toType
.
true
if normal casting rules permit this cast, or
if this ClassType
is Object
and the
toType
is a primitive.
true
if the normal rules for casts
hold, or if casting a primitive to Object
, as primitives
are considered a subtype of Object
.
toType
.
outer
.
isEnclosed
.
this
has the final
flag set.
toType
.
toType
.
toType
.
true
if the normal rules for implicit casts
hold, or if casting a primitive to Object
, as primitives
are considered a subtype of Object
.
toType
.
this
has the interface
flag set.
this
has the native
flag set.
this
has the no access flags
(public
, private
, protected
) set.
this
has the private
flag set.
this
has the protected
flag set.
this
has the public
flag set.
mi
.
m1
is the same method as m2
.
mi
.
this
has the static
flag set.
this
has the strictfp
flag set.
ancestor
.
ancestor
.
ancestor
.
ancestor
.
this
has the synchronized
flag
set.
type
may be thrown.
this
has the transient
flag set.
n
in package pkgName
is visible from within
package pkg
.