|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use VariableData | |
|---|---|
| edu.rice.cs.javalanglevels | |
| Uses of VariableData in edu.rice.cs.javalanglevels |
|---|
| Fields in edu.rice.cs.javalanglevels with type parameters of type VariableData | |
|---|---|
protected LinkedList<VariableData> |
SpecialTypeChecker._vars
An incremental list of fields used because forward references among fields are not allowed. |
protected LinkedList<VariableData> |
Data._vars
The vars defined in the lexical scope of this data. |
protected LinkedList<VariableData> |
SpecialTypeChecker.thingsThatHaveBeenAssigned
Stores what variable datas have been newly given a value in this scope. |
| Methods in edu.rice.cs.javalanglevels that return VariableData | |
|---|---|
protected VariableData[] |
BodyBodyIntermediateVisitor._variableDeclaration2VariableData(VariableDeclaration vd,
Data enclosingData)
Process a local variable declaration within a method. |
protected VariableData[] |
InterfaceBodyFullJavaVisitor._variableDeclaration2VariableData(VariableDeclaration vd,
Data enclosingData)
Processes a static field declaration within an interface. |
protected VariableData[] |
InterfaceBodyIntermediateVisitor._variableDeclaration2VariableData(VariableDeclaration vd,
Data enclosingData)
Processes a static field declaration within an interface. |
protected VariableData[] |
LanguageLevelVisitor._variableDeclaration2VariableData(VariableDeclaration vd,
Data enclosing)
This method assumes that the modifiers for this particular VariableDeclaration have already been checked. |
VariableData |
VariableData.copyWithoutVisibility()
Make a copy of this VariableData erasing all visibility modifiers and setting hasBeenAssigned to true. |
protected VariableData[] |
LanguageLevelVisitor.formalParameters2VariableData(FormalParameter[] fps,
SymbolData enclosing)
Convert the specified array of FormalParameters into an array of VariableDatas which is then returned. |
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece)
Return the field or variable with the name text inside of data. |
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars)
|
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars,
boolean shouldRecur)
|
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars,
boolean shouldRecur,
boolean addError)
This method checks if the identifier called text is a field or variable visible from the context of the param "data" and is accessible from the context of thisSD. |
VariableData[] |
MethodData.getParams()
|
VariableData |
Data.getVar(String name)
Finds and returns the particular VariableData declared in this Data's context. |
protected VariableData[] |
IntermediateVisitor.llVariableDeclaration2VariableData(VariableDeclaration vd,
Data enclosingData)
Pass this call directly onto the language level visitor. |
| Methods in edu.rice.cs.javalanglevels that return types with arguments of type VariableData | |
|---|---|
LinkedList<VariableData> |
TypeChecker.cloneVariableDataList(LinkedList<VariableData> vars)
Create a clone of the linked list of Variable Data. |
LinkedList<VariableData> |
SymbolData.getAllSuperVars()
Get all of your vars and all vars that you inherit. |
LinkedList<VariableData> |
Data.getVars()
|
| Methods in edu.rice.cs.javalanglevels with parameters of type VariableData | |
|---|---|
boolean |
SymbolData.addFinalVars(VariableData[] vars)
Add the array of variable datas to the list of variables defined in this scope, unless a name has already been used. |
boolean |
Data.addFinalVars(VariableData[] vars)
Add the array of variable datas to the list of variables defined in this scope, unless a name has already been used. |
boolean |
SymbolData.addVar(VariableData var)
Adds a (perhaps mutable) variable or field to a SymbolData. |
boolean |
Data.addVar(VariableData var)
Add the specified Variable Data to the list of variables defined in this scope, unless its name has already been used. |
boolean |
SymbolData.addVars(VariableData[] vars)
Adds fields or variables to a SymboLData. |
boolean |
Data.addVars(VariableData[] vars)
Add the array of variable datas to the list of variables defined in this scope, unless a name has already been used. |
protected boolean |
SpecialTypeChecker.canBeAssigned(VariableData vd)
A variable data can be assigned to if it is not final or if it does not have a value. |
protected boolean |
ExpressionTypeChecker.canBeAssigned(VariableData vd)
A variable data can be assigned to if it is not final or it does not have a value. |
static boolean |
LanguageLevelVisitor.isDuplicateVariableData(LinkedList<VariableData> vds,
VariableData toInsert)
|
static MethodData |
MethodData.make(String name,
ModifiersAndVisibility modifiersAndVisibility,
TypeParameter[] typeParameters,
SymbolData returnType,
VariableData[] params,
String[] thrown,
SymbolData enclosingClass,
JExpression jexpr)
Factory methods used for debugging purposes among other things. |
static MethodData |
MethodData.make(String name,
VariableData[] params)
|
void |
MethodData.setParams(VariableData[] p)
Set the method params to be p |
| Method parameters in edu.rice.cs.javalanglevels with type arguments of type VariableData | |
|---|---|
LinkedList<VariableData> |
TypeChecker.cloneVariableDataList(LinkedList<VariableData> vars)
Create a clone of the linked list of Variable Data. |
protected BodyTypeChecker |
BodyTypeChecker.createANewInstanceOfMe(BodyData bodyData,
File file,
String pakage,
LinkedList<String> importedFiles,
LinkedList<String> importedPackages,
LinkedList<VariableData> vars,
LinkedList<Pair<SymbolData,JExpression>> thrown)
Create a new instance of this class for visiting inner bodies. |
protected BodyTypeChecker |
ConstructorBodyTypeChecker.createANewInstanceOfMe(BodyData bodyData,
File file,
String pakage,
LinkedList<String> importedFiles,
LinkedList<String> importedPackages,
LinkedList<VariableData> vars,
LinkedList<Pair<SymbolData,JExpression>> thrown)
Creates a new instance of this class for visiting inner bodies. |
protected BodyTypeChecker |
TryCatchBodyTypeChecker.createANewInstanceOfMe(BodyData bodyData,
File file,
String pakage,
LinkedList<String> importedFiles,
LinkedList<String> importedPackages,
LinkedList<VariableData> vars,
LinkedList<Pair<SymbolData,JExpression>> thrown)
Create a new instance of this class for visiting inner bodies. |
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars)
|
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars,
boolean shouldRecur)
|
static VariableData |
TypeChecker.getFieldOrVariable(String text,
Data data,
SymbolData thisSD,
JExpression piece,
LinkedList<VariableData> vars,
boolean shouldRecur,
boolean addError)
This method checks if the identifier called text is a field or variable visible from the context of the param "data" and is accessible from the context of thisSD. |
static boolean |
LanguageLevelVisitor.isDuplicateVariableData(LinkedList<VariableData> vds,
VariableData toInsert)
|
| Constructors in edu.rice.cs.javalanglevels with parameters of type VariableData | |
|---|---|
MethodData(String name,
ModifiersAndVisibility modifiersAndVisibility,
TypeParameter[] typeParameters,
SymbolData returnType,
VariableData[] params,
String[] thrown,
SymbolData enclosingClass,
JExpression jexpr)
Constructor for MethodData. |
|
MethodData(String name,
VariableData[] params)
Constructor used by the LanguageLevelConverter, where only the name and params matter |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||