@Deprecated public class JifConstructorDecl_c extends polyglot.ast.ConstructorDecl_c implements JifConstructorDecl
JifConstructor
interface.Modifier and Type | Field and Description |
---|---|
protected java.util.List<ConstraintNode<Assertion>> |
constraints
Deprecated.
|
protected LabelNode |
returnLabel
Deprecated.
|
protected LabelNode |
startLabel
Deprecated.
|
Constructor and Description |
---|
JifConstructorDecl_c(polyglot.util.Position pos,
polyglot.types.Flags flags,
polyglot.ast.Id name,
LabelNode startLabel,
LabelNode returnLabel,
java.util.List<polyglot.ast.Formal> formals,
java.util.List<polyglot.ast.TypeNode> throwTypes,
java.util.List<ConstraintNode<Assertion>> constraints,
polyglot.ast.Block body,
polyglot.ast.Javadoc javadoc)
Deprecated.
|
JifConstructorDecl_c(polyglot.util.Position pos,
polyglot.types.Flags flags,
polyglot.ast.Id name,
LabelNode startLabel,
LabelNode returnLabel,
java.util.List<polyglot.ast.Formal> formals,
java.util.List<polyglot.ast.TypeNode> throwTypes,
java.util.List<ConstraintNode<Assertion>> constraints,
polyglot.ast.Block body,
polyglot.ast.Javadoc javadoc,
polyglot.ast.Ext ext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ConstraintNode<Assertion>> |
constraints()
Deprecated.
|
JifConstructorDecl |
constraints(java.util.List<ConstraintNode<Assertion>> constraints)
Deprecated.
|
protected <N extends JifConstructorDecl_c> |
constraints(N n,
java.util.List<ConstraintNode<Assertion>> constraints)
Deprecated.
|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar)
Deprecated.
|
protected <N extends JifConstructorDecl_c> |
reconstruct(N n,
polyglot.ast.Id name,
LabelNode startLabel,
LabelNode returnLabel,
java.util.List<polyglot.ast.Formal> formals,
java.util.List<polyglot.ast.TypeNode> throwTypes,
java.util.List<ConstraintNode<Assertion>> constraints,
polyglot.ast.Block body)
Deprecated.
|
LabelNode |
returnLabel()
Deprecated.
|
JifConstructorDecl |
returnLabel(LabelNode returnLabel)
Deprecated.
|
protected <N extends JifConstructorDecl_c> |
returnLabel(N n,
LabelNode returnLabel)
Deprecated.
|
LabelNode |
startLabel()
Deprecated.
|
JifConstructorDecl |
startLabel(LabelNode startLabel)
Deprecated.
|
protected <N extends JifConstructorDecl_c> |
startLabel(N n,
LabelNode startLabel)
Deprecated.
|
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc)
Deprecated.
|
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
Deprecated.
|
acceptCFG, buildTypes, constructorInstance, constructorInstance, constructorInstance, copy, enterScope, extRewrite, firstChild, isDisambiguated, memberInstance, prettyPrintHeader, procedureInstance, toString
body, body, body, buildTypesEnter, codeBody, codeInstance, dump, exceptionCheckEnter, flags, flags, flags, formals, formals, formals, id, id, id, javadoc, javadoc, javadoc, name, name, prettyPrint, reconstruct, throwTypes, throwTypes, throwTypes
exceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachable
addDecls, checkConstants, childExpectedType, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, error, error, error, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
constructorInstance, constructorInstance, id
protected LabelNode startLabel
protected LabelNode returnLabel
protected java.util.List<ConstraintNode<Assertion>> constraints
public JifConstructorDecl_c(polyglot.util.Position pos, polyglot.types.Flags flags, polyglot.ast.Id name, LabelNode startLabel, LabelNode returnLabel, java.util.List<polyglot.ast.Formal> formals, java.util.List<polyglot.ast.TypeNode> throwTypes, java.util.List<ConstraintNode<Assertion>> constraints, polyglot.ast.Block body, polyglot.ast.Javadoc javadoc)
public JifConstructorDecl_c(polyglot.util.Position pos, polyglot.types.Flags flags, polyglot.ast.Id name, LabelNode startLabel, LabelNode returnLabel, java.util.List<polyglot.ast.Formal> formals, java.util.List<polyglot.ast.TypeNode> throwTypes, java.util.List<ConstraintNode<Assertion>> constraints, polyglot.ast.Block body, polyglot.ast.Javadoc javadoc, polyglot.ast.Ext ext)
public LabelNode startLabel()
startLabel
in interface JifProcedureDecl
public JifConstructorDecl startLabel(LabelNode startLabel)
startLabel
in interface JifConstructorDecl
protected <N extends JifConstructorDecl_c> N startLabel(N n, LabelNode startLabel)
public LabelNode returnLabel()
returnLabel
in interface JifProcedureDecl
public JifConstructorDecl returnLabel(LabelNode returnLabel)
returnLabel
in interface JifConstructorDecl
protected <N extends JifConstructorDecl_c> N returnLabel(N n, LabelNode returnLabel)
public java.util.List<ConstraintNode<Assertion>> constraints()
constraints
in interface JifProcedureDecl
public JifConstructorDecl constraints(java.util.List<ConstraintNode<Assertion>> constraints)
constraints
in interface JifConstructorDecl
protected <N extends JifConstructorDecl_c> N constraints(N n, java.util.List<ConstraintNode<Assertion>> constraints)
protected <N extends JifConstructorDecl_c> N reconstruct(N n, polyglot.ast.Id name, LabelNode startLabel, LabelNode returnLabel, java.util.List<polyglot.ast.Formal> formals, java.util.List<polyglot.ast.TypeNode> throwTypes, java.util.List<ConstraintNode<Assertion>> constraints, polyglot.ast.Block body)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.ConstructorDecl_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.ProcedureDecl_c
polyglot.types.SemanticException
public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
in class polyglot.ast.ConstructorDecl_c
polyglot.types.SemanticException