Groovy 2.2.0

groovy.inspect
[Groovy] Class TextNode

java.lang.Object
  groovy.inspect.TextNode

class TextNode

Represents a plain text node for use in the AST tree made by ASTBrowser

Authors:
Roshan Dawrani


Property Summary
List children

TextNode parent

List properties

Object userObject

 
Constructor Summary
TextNode(Object userObject)

TextNode(Object userObject, List properties)

 
Method Summary
void add(TextNode child)

void setParent(TextNode newParent)

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

children

List children


parent

TextNode parent


properties

List properties


userObject

Object userObject


 
Constructor Detail

TextNode

TextNode(Object userObject)


TextNode

TextNode(Object userObject, List properties)


 
Method Detail

add

void add(TextNode child)


setParent

void setParent(TextNode newParent)


toString

String toString()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.