public class JL5StmtRegistrar extends StmtRegistrar
StmtRegistrar.CodeInfo, StmtRegistrar.ExceptionHandlerReferenceVariable
ARRAY_CONTENTS, generatedExceptionNodes, USE_SINGLE_ALLOC_NODE_FOR_GENERATED_EXCEPTIONS
Constructor and Description |
---|
JL5StmtRegistrar(polyglot.frontend.ExtensionInfo extInfo) |
Modifier and Type | Method and Description |
---|---|
StmtRegistrar.CodeInfo |
getCodeInfo(polyglot.ext.jl5.ast.EnumConstantDecl ecd) |
java.util.Set<polyglot.ext.jl5.ast.EnumConstantDecl> |
getEnumConstantDecls() |
java.util.Collection<polyglot.types.CodeInstance> |
getInitialCodeInstances()
Return the code instances that should be analyzed in the initial context.
|
ReferenceVariable |
nodeForEnumConstantDecl(polyglot.types.FieldInstance fi) |
void |
recordEnumConstantDecl(polyglot.ext.jl5.ast.EnumConstantDecl ecd)
Record the existence of an EnumConstantDecl
|
void |
registerEnumConstantDecl(polyglot.ext.jl5.ast.EnumConstantDecl ecd,
StmtRegistrar.CodeInfo codeInfo,
ConstructorContext constructorContext) |
addAssignment, addAssignment, addAssignment, addAssignmentToField, addAssignmentToField, addCatchImplicitError, addConstructorCall, addExceptionAssignments, addFilteredAssignment, addGeneratedExceptionAssignments, addSpecialCall, addStaticCall, addStmt, addVirtualCall, createFreshReferenceVariable, createFreshReferenceVariable, freshAllocNode, freshCallSiteNode, freshReferenceVariable, getCodeInfo, getCodeInfo, getCodeInfo, getCodeInfo, getInstanceInitializers, getLocalNode, getStartProcs, getStaticInitializers, hasReferenceVariable, missingCode, nodeForStaticField, processMissingCode, processMissingCode, recordFieldDecl, recordInitializer, recordInitializerOrFieldDecl, recordMissingCode, recordProcedureDecl, registerAlloc, registerAlloc, registerAlloc, registerArrayClone, registerClassLiteral, registerLocalDecl, registerStaticAlloc, registerStringLiteral, stmts, stmtsForCode, updateReferenceVariable
public JL5StmtRegistrar(polyglot.frontend.ExtensionInfo extInfo)
public ReferenceVariable nodeForEnumConstantDecl(polyglot.types.FieldInstance fi)
public void registerEnumConstantDecl(polyglot.ext.jl5.ast.EnumConstantDecl ecd, StmtRegistrar.CodeInfo codeInfo, ConstructorContext constructorContext)
public java.util.Collection<polyglot.types.CodeInstance> getInitialCodeInstances()
StmtRegistrar
getInitialCodeInstances
in class StmtRegistrar
public StmtRegistrar.CodeInfo getCodeInfo(polyglot.ext.jl5.ast.EnumConstantDecl ecd)
public java.util.Set<polyglot.ext.jl5.ast.EnumConstantDecl> getEnumConstantDecls()
public void recordEnumConstantDecl(polyglot.ext.jl5.ast.EnumConstantDecl ecd)
ecd
-