|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.ast.Node_c
jif.ast.ParamDecl_c
public class ParamDecl_c
An implementation of the ParamDecl interface.
| Field Summary |
|---|
| Fields inherited from class polyglot.ast.Node_c |
|---|
del, error, ext, position |
| Constructor Summary | |
|---|---|
ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class polyglot.ast.Node_c |
|---|
addDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, enterChildScope, enterScope, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, init, isTypeChecked, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface polyglot.ast.Node |
|---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
| Methods inherited from interface polyglot.ast.JL |
|---|
init, node |
| Methods inherited from interface polyglot.ast.NodeOps |
|---|
addDecls, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren |
| Methods inherited from interface polyglot.util.Copy |
|---|
copy |
| Constructor Detail |
|---|
public ParamDecl_c(polyglot.util.Position pos,
ParamInstance.Kind kind,
polyglot.ast.Id name)
| Method Detail |
|---|
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class polyglot.ast.Node_cpublic ParamInstance.Kind kind()
kind in interface ParamDeclpublic ParamDecl kind(ParamInstance.Kind kind)
kind in interface ParamDeclpublic java.lang.String name()
name in interface ParamDeclpublic ParamDecl name(java.lang.String name)
name in interface ParamDeclpublic ParamInstance paramInstance()
paramInstance in interface ParamDeclpublic ParamDecl paramInstance(ParamInstance pi)
paramInstance in interface ParamDeclpublic boolean isPrincipal()
isPrincipal in interface ParamDeclpublic boolean isLabel()
isLabel 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)
throws polyglot.types.SemanticException
buildTypes in interface polyglot.ast.NodeOpsbuildTypes in class polyglot.ast.Node_cpolyglot.types.SemanticExceptionpublic java.lang.String toString()
toString in class polyglot.ast.Node_c
public void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_c
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||