polyglot.ext.coffer.ast
Class CanonicalKeySetNode_c
java.lang.Object
polyglot.ext.jl.ast.Node_c
polyglot.ext.coffer.ast.CanonicalKeySetNode_c
- All Implemented Interfaces:
- java.lang.Cloneable, JL, Node, NodeOps, CanonicalKeySetNode, KeySetNode, Copy
public class CanonicalKeySetNode_c
- extends Node_c
- implements CanonicalKeySetNode
Implementation of a canonical key set AST node. This is just an AST node
veneer around a KeySet
type object.
Methods inherited from class polyglot.ext.jl.ast.Node_c |
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypes, buildTypesEnter, buildTypesOverride, childExpectedType, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, 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, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, throwTypes, typeCheck, typeCheckEnter, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
keys
protected KeySet keys
CanonicalKeySetNode_c
public CanonicalKeySetNode_c(Position pos,
KeySet keys)
keys
public KeySet keys()
- Specified by:
keys
in interface KeySetNode
keys
public CanonicalKeySetNode keys(KeySet keys)
- Specified by:
keys
in interface CanonicalKeySetNode
prettyPrint
public void prettyPrint(CodeWriter w,
PrettyPrinter tr)
- Description copied from class:
Node_c
- Pretty-print the AST using the given
CodeWriter
.
- Specified by:
prettyPrint
in interface NodeOps
- Overrides:
prettyPrint
in class Node_c
- Parameters:
w
- The code writer to which to write.tr
- The pretty printer. This is not a visitor.
translate
public void translate(CodeWriter w,
Translator tr)
- Description copied from class:
Node_c
- Translate the AST using the given
CodeWriter
.
- Specified by:
translate
in interface NodeOps
- Overrides:
translate
in class Node_c
- Parameters:
w
- The code writer to which to write.tr
- The translation pass. This is not a visitor.
toString
public java.lang.String toString()
- Overrides:
toString
in class Node_c