public class JifConstructorInstance_c extends polyglot.types.ConstructorInstance_c implements JifConstructorInstance
JifConstructorInstance interface.| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Assertion> |
constraints |
protected boolean |
isDefaultPCBound |
protected boolean |
isDefaultReturnLabel |
protected Label |
pcBound |
protected Label |
returnLabel |
| Constructor and Description |
|---|
JifConstructorInstance_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.ClassType container,
polyglot.types.Flags flags,
Label pcBound,
boolean isDefaultPCBound,
Label returnLabel,
boolean isDefaultReturnLabel,
java.util.List<? extends polyglot.types.Type> formalTypes,
java.util.List<Label> formalArgLabels,
java.util.List<? extends polyglot.types.Type> excTypes,
java.util.List<Assertion> constraints) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Assertion> |
constraints() |
java.lang.String |
debugString() |
Label |
externalPC() |
java.lang.String |
fullSignature() |
boolean |
isCanonical() |
boolean |
isDefaultPCBound() |
boolean |
isDefaultReturnLabel() |
Label |
pcBound() |
ProviderLabel |
provider() |
Label |
returnLabel() |
void |
setConstraints(java.util.List<Assertion> constraints) |
void |
setPCBound(Label pcBound,
boolean isDefault) |
void |
setReturnLabel(Label returnLabel,
boolean isDefault) |
java.lang.String |
signature() |
void |
subst(LabelSubstitution subst) |
void |
subst(VarMap bounds) |
container, declaration, designator, equalsImpl, flags, formalTypes, isSameConstructor, isSameConstructorImpl, orig, setDeclaration, throwTypes, toStringcallValid, callValidImpl, container, flags, formalTypes, hasFormals, hasFormalsImpl, hashCode, listIsCanonical, moreSpecific, moreSpecificImpl, setContainer, setFlags, setFormalTypes, setThrowTypes, throwsSubset, throwsSubsetImpl, throwTypesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainer, flags, formalTypes, isSameConstructor, isSameConstructorImpl, orig, throwTypescontainer, flags, setContainer, setFlagscontainerprotected Label pcBound
protected Label returnLabel
protected java.util.List<Assertion> constraints
protected boolean isDefaultPCBound
protected boolean isDefaultReturnLabel
public JifConstructorInstance_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.ClassType container, polyglot.types.Flags flags, Label pcBound, boolean isDefaultPCBound, Label returnLabel, boolean isDefaultReturnLabel, java.util.List<? extends polyglot.types.Type> formalTypes, java.util.List<Label> formalArgLabels, java.util.List<? extends polyglot.types.Type> excTypes, java.util.List<Assertion> constraints)
public Label pcBound()
pcBound in interface JifProcedureInstancepublic Label externalPC()
public Label returnLabel()
returnLabel in interface JifProcedureInstancepublic void setReturnLabel(Label returnLabel, boolean isDefault)
setReturnLabel in interface JifProcedureInstancepublic boolean isDefaultReturnLabel()
isDefaultReturnLabel in interface JifProcedureInstancepublic void setPCBound(Label pcBound, boolean isDefault)
setPCBound in interface JifProcedureInstancepublic boolean isDefaultPCBound()
isDefaultPCBound in interface JifProcedureInstancepublic java.util.List<Assertion> constraints()
constraints in interface JifProcedureInstancepublic void setConstraints(java.util.List<Assertion> constraints)
setConstraints in interface JifProcedureInstancepublic boolean isCanonical()
isCanonical in interface polyglot.types.TypeObjectisCanonical in class polyglot.types.ConstructorInstance_cpublic void subst(VarMap bounds)
subst in interface JifProcedureInstancepublic void subst(LabelSubstitution subst) throws polyglot.types.SemanticException
subst in interface JifProcedureInstancepolyglot.types.SemanticExceptionpublic java.lang.String debugString()
debugString in interface JifProcedureInstancepublic java.lang.String signature()
signature in interface polyglot.types.ProcedureInstancesignature in class polyglot.types.ConstructorInstance_cpublic java.lang.String fullSignature()
public ProviderLabel provider()
provider in interface JifProcedureInstance