public abstract class ParserBase extends Object implements IParser
| Modifier and Type | Field and Description |
|---|---|
protected RythmEngine |
engine_ |
protected static ILogger |
logger |
static ParserBase |
NULL_INST |
| Modifier | Constructor and Description |
|---|---|
protected |
ParserBase(IContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
a() |
protected CodeBuilder |
builder() |
protected void |
checkRestrictedClass(String code) |
IContext |
ctx() |
protected int |
currentLine() |
protected IDialect |
dialect() |
protected boolean |
isLastBuilderLiteral() |
static void |
p(int i,
com.stevesoft.pat.Regex r) |
static void |
p(com.stevesoft.pat.Regex r) |
static void |
p(com.stevesoft.pat.Regex r,
int max) |
static void |
p(String s,
com.stevesoft.pat.Regex r) |
static void |
p(String s,
com.stevesoft.pat.Regex r,
int max) |
static Pattern |
pattern(String regex,
Object... args) |
protected char |
peek() |
protected char |
pop() |
protected void |
processFollowingOpenBraceAndLineBreak(boolean leadingLB) |
protected void |
raiseParseException(String msg,
Object... args) |
protected String |
remain() |
protected void |
step(int i) |
public static final ParserBase NULL_INST
protected static final ILogger logger
protected final RythmEngine engine_
protected ParserBase(IContext context)
protected final IDialect dialect()
protected final String a()
protected final String remain()
protected final int currentLine()
protected final char peek()
protected final char pop()
protected final CodeBuilder builder()
protected final void step(int i)
protected final void checkRestrictedClass(String code)
protected boolean isLastBuilderLiteral()
protected void processFollowingOpenBraceAndLineBreak(boolean leadingLB)
public static void p(int i,
com.stevesoft.pat.Regex r)
public static void p(String s, com.stevesoft.pat.Regex r)
public static void p(String s, com.stevesoft.pat.Regex r, int max)
public static void p(com.stevesoft.pat.Regex r,
int max)
public static void p(com.stevesoft.pat.Regex r)
Copyright © 2016. All Rights Reserved.