public class DefaultYAMLParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DefaultYAMLParser.yyInput
must be implemented by a scanner object to supply input to the parser.
|
Modifier and Type | Field and Description |
---|---|
static int |
YAML_ALIAS |
static int |
YAML_ANCHOR |
static int |
YAML_BLOCK |
static int |
YAML_DOCSEP |
static int |
YAML_IEND |
static int |
YAML_INDENT |
static int |
YAML_IOPEN |
static int |
YAML_ITRANSFER |
static int |
YAML_PLAIN |
static int |
YAML_TAGURI |
static int |
YAML_TRANSFER |
static int |
YAML_WORD |
protected static short[] |
yyCheck
parser tables.
|
protected static short[] |
yyDefRed
parser tables.
|
protected static short[] |
yyDgoto
parser tables.
|
static int |
yyErrorCode |
protected static int |
yyFinal
number of final state.
|
protected static short[] |
yyGindex
parser tables.
|
protected static short[] |
yyLen
parser tables.
|
protected static short[] |
yyLhs
parser tables.
|
protected int |
yyMax
initial size and increment of the state/value stack [default 256].
|
protected static java.lang.String[] |
yyNames
maps symbol value to printable name.
|
protected static short[] |
yyRindex
parser tables.
|
protected static short[] |
yySindex
parser tables.
|
protected static short[] |
yyTable
parser tables.
|
Constructor and Description |
---|
DefaultYAMLParser(Parser parser) |
Modifier and Type | Method and Description |
---|---|
static void |
applySeqInMap(Parser parser,
Node n) |
static Node |
NULL_NODE(Parser parser) |
protected java.lang.Object |
yyDefault(java.lang.Object first)
executed at the beginning of a reduce action.
|
void |
yyerror(java.lang.String msg) |
java.lang.Object |
yyparse(DefaultYAMLParser.yyInput yyLex)
the generated parser.
|
java.lang.Object |
yyparse(DefaultYAMLParser.yyInput yyLex,
java.lang.Object yydebug)
the generated parser, with debugging messages.
|
public static final int YAML_ANCHOR
public static final int YAML_ALIAS
public static final int YAML_TRANSFER
public static final int YAML_TAGURI
public static final int YAML_ITRANSFER
public static final int YAML_WORD
public static final int YAML_PLAIN
public static final int YAML_BLOCK
public static final int YAML_DOCSEP
public static final int YAML_IOPEN
public static final int YAML_INDENT
public static final int YAML_IEND
public static final int yyErrorCode
protected static final int yyFinal
protected static final short[] yyLhs
protected static final short[] yyLen
protected static final short[] yyDefRed
protected static final short[] yyDgoto
protected static final short[] yySindex
protected static final short[] yyRindex
protected static final short[] yyGindex
protected static final short[] yyTable
protected static final short[] yyCheck
protected static final java.lang.String[] yyNames
#yyExpecting
protected int yyMax
yyparse(org.yecht.DefaultYAMLParser.yyInput, java.lang.Object)
.public DefaultYAMLParser(Parser parser)
public java.lang.Object yyparse(DefaultYAMLParser.yyInput yyLex, java.lang.Object yydebug) throws java.io.IOException
yyLex
- scanner.yydebug
- debug message writer implementing yyDebug, or null.java.io.IOException
protected java.lang.Object yyDefault(java.lang.Object first)
first
- value for $1, or null.public java.lang.Object yyparse(DefaultYAMLParser.yyInput yyLex) throws java.io.IOException
yyLex
- scanner.java.io.IOException
public void yyerror(java.lang.String msg)