public abstract class Skb_Antlr4Utils extends Object
| Constructor and Description |
|---|
Skb_Antlr4Utils() |
| Modifier and Type | Method and Description |
|---|---|
static Skb_Transformer<Object,Integer> |
ANTLR_TO_COLUMN()
Returns a transformer that takes an object and returns an Integer with column information for ANTLR classes
|
static Skb_Transformer<Object,Integer> |
ANTLR_TO_LINE()
Returns a transformer that takes an object and returns an Integer with line information for ANTLR classes
|
static Skb_Transformer<Object,String> |
ANTLR_TO_TEXT()
Returns a transformer that takes an ANTLR object and returns a textual representation of it
|
static Integer |
antlr2column(Object o)
Returns the column information of an ANTLR object (RecognitionException, Token, ParserRuleContext, TerminalNode)
|
static Integer |
antlr2line(Object o)
Returns the line information of an ANTLR object (RecognitionException, Token, ParserRuleContext, TerminalNode)
|
public static final Skb_Transformer<Object,Integer> ANTLR_TO_COLUMN()
public static final Integer antlr2column(Object o)
o - input objectpublic static final Skb_Transformer<Object,Integer> ANTLR_TO_LINE()
public static final Integer antlr2line(Object o)
o - input objectpublic static final Skb_Transformer<Object,String> ANTLR_TO_TEXT()
Copyright © 2010–2015. All rights reserved.