public class ParamDecl_c extends polyglot.ast.Node_c implements ParamDecl
ParamDecl interface.| Constructor and Description |
|---|
ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name) |
ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.Node |
buildTypes(polyglot.visit.TypeBuilder tb) |
boolean |
isCovariantLabel() |
boolean |
isDisambiguated() |
boolean |
isInvariantLabel() |
boolean |
isLabel() |
boolean |
isPrincipal() |
ParamInstance.Kind |
kind() |
ParamDecl |
kind(ParamInstance.Kind kind) |
void |
leaveScope(polyglot.types.Context c) |
java.lang.String |
name() |
ParamDecl |
name(java.lang.String name) |
ParamInstance |
paramInstance() |
ParamDecl |
paramInstance(ParamInstance pi) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
java.lang.String |
toString() |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
addDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdel, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name)
public ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name,
polyglot.ast.Ext ext)
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class polyglot.ast.Node_cpublic ParamInstance.Kind kind()
public ParamDecl kind(ParamInstance.Kind kind)
public ParamInstance paramInstance()
paramInstance in interface ParamDeclpublic ParamDecl paramInstance(ParamInstance pi)
paramInstance in interface ParamDeclpublic boolean isPrincipal()
isPrincipal in interface ParamDeclpublic boolean isInvariantLabel()
isInvariantLabel in interface ParamDeclpublic boolean isCovariantLabel()
isCovariantLabel in interface ParamDeclpublic void leaveScope(polyglot.types.Context c)
public polyglot.ast.Node buildTypes(polyglot.visit.TypeBuilder tb)
buildTypes in interface polyglot.ast.NodeOpsbuildTypes in class polyglot.ast.Node_cpublic java.lang.String toString()
toString in class polyglot.ast.Node_cpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_cpublic void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_c