public class NodeUtils extends Object
Constructor and Description |
---|
NodeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
fixIndentation(SimpleNode parent,
String parentIndentation)
Fix children indentation in structured space gobbling mode.
|
static StringBuilder |
getSpecialText(Token t)
Collect all the
|
static String |
tokenLiteral(Token t)
complete node literal
|
public static StringBuilder getSpecialText(Token t)
t
- the Tokenpublic static String tokenLiteral(Token t)
t
- public static void fixIndentation(SimpleNode parent, String parentIndentation)
parent
- parentIndentation
- extraIndentation
- Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.