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 <SPECIAL_TOKEN>s that
are carried along with a token.
|
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
- Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.