public class ParserBase extends Object
Constructor and Description |
---|
ParserBase() |
Modifier and Type | Method and Description |
---|---|
Prologue |
getPrologue() |
static int |
hex(String s,
int i,
int len,
int line,
int column) |
void |
setPrologue(Prologue prologue) |
static String |
stripChars(String s,
int n)
remove the first n charcacters from the string
|
static void |
throwParseException(String msg) |
static void |
throwParseException(String msg,
int line,
int column) |
static String |
unescape(String s,
char escape,
boolean pointCodeOnly,
int line,
int column) |
static String |
unescapePName(String s,
int line,
int column) |
static String |
unescapeStr(String s) |
static String |
unescapeStr(String s,
int line,
int column) |
public void setPrologue(Prologue prologue)
public Prologue getPrologue()
public static String stripChars(String s, int n)
public static String unescape(String s, char escape, boolean pointCodeOnly, int line, int column)
public static int hex(String s, int i, int len, int line, int column)
public static void throwParseException(String msg, int line, int column)
public static void throwParseException(String msg)
Licenced under the Apache License, Version 2.0