Package jminusminus
Class ClassContext
java.lang.Object
jminusminus.Context
jminusminus.ClassContext
Represents the context (scope, environment, symbol table) for a type, for example a class, in
 j--. It also keeps track of its surrounding context(s) and the type whose context it represents.
- 
Field SummaryFields inherited from class jminusminus.ContextclassContext, compilationUnitContext, entries, surroundingContext
- 
Constructor SummaryConstructorsConstructorDescriptionClassContext(JAST definition, Context surrounding) Constructs a class context.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the AST node of the type defined by this class.voidtoJSON(JSONElement json) Adds information pertaining to this context to the given JSON element.Methods inherited from class jminusminus.ContextaddEntry, addType, classContext, compilationUnitContext, definingType, lookup, lookupType, methodContext, names, surroundingContext
- 
Constructor Details- 
ClassContextConstructs a class context.- Parameters:
- definition- the AST node of the type that this class represents.
- surrounding- the surrounding context(s).
 
 
- 
- 
Method Details