- Direct Known Subclasses:
Block
, Field
, Method
, Spec
public abstract class Node<P extends Node,A>
extends Object
Base class for all SpecL AST nodes.
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors
-
Method Summary
abstract void
The Groovy AST representation of this node.
void
void
-
Constructor Details
-
Node
public Node(P parent,
A ast)
-
Method Details
-
getParent
The parent of this node.
- Returns:
- the parent of this node
-
getAst
The Groovy AST representation of this node.
- Returns:
- the Groovy AST representation of this node
-
setAst
public void setAst(A ast)
-
-
setName
public void setName(String name)
-
-