public class ASTErrorUtils extends Object
| Constructor and Description |
|---|
ASTErrorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMsg(String mesg,
ASTNode tree) |
static String |
getMsg(String mesg,
ASTNode tree,
String reason) |
static String |
getMsg(String mesg,
org.antlr.runtime.tree.Tree tree) |
static String |
getMsg(String mesg,
org.antlr.runtime.tree.Tree tree,
String reason) |
static String |
getText(ASTNode tree) |
static void |
renderOrigin(StringBuilder sb,
ASTNodeOrigin origin) |
static String |
renderPosition(ASTNode n) |
public static void renderOrigin(StringBuilder sb, ASTNodeOrigin origin)
Copyright © 2022 The Apache Software Foundation. All rights reserved.