groovy / 2.4.21 / groovy / inspect / textnode.html /

[Groovy] Class TextNode

  • groovy.inspect.TextNode

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

Authors:
Roshan Dawrani

Properties Summary

Properties
Type Name and description
List children
TextNode parent
List<List<String>> properties
Object userObject

Constructor Summary

Constructors
Constructor and description
TextNode (Object userObject)
TextNode (Object userObject, List<List<String>> properties)

Methods Summary

Methods
Type Params Return Type Name and description
void add(TextNode child)
void setParent(TextNode newParent)
String toString()

Inherited Methods Summary

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

Property Detail

List children

TextNode parent

List<List<String>> properties

Object userObject

Constructor Detail

TextNode(Object userObject)

TextNode(Object userObject, List<List<String>> properties)

Method Detail

void add(TextNode child)

void setParent(TextNode newParent)

String toString()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/inspect/TextNode.html