Class: KDL::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/kdl/kdl.tab.rb

Constant Summary collapse

Racc_arg =
[
racc_action_table,
racc_action_check,
racc_action_default,
racc_action_pointer,
racc_goto_table,
racc_goto_check,
racc_goto_default,
racc_goto_pointer,
racc_nt_base,
racc_reduce_table,
racc_token_table,
racc_shift_n,
racc_reduce_n,
racc_use_result_var ]
Racc_token_to_s_table =
[
"$end",
"error",
"IDENT",
"STRING",
"RAWSTRING",
"INTEGER",
"FLOAT",
"TRUE",
"FALSE",
"NULL",
"WS",
"NEWLINE",
"LBRACE",
"RBRACE",
"LPAREN",
"RPAREN",
"EQUALS",
"SEMICOLON",
"EOF",
"SLASHDASH",
"ESCLINE",
"$start",
"document",
"nodes",
"linespaces",
"none",
"node",
"empty_node",
"untyped_node",
"type",
"node_decl",
"node_term",
"node_children",
"empty_children",
"identifier",
"ws",
"value",
"ws_star",
"property",
"semicolon_term",
"untyped_value",
"boolean",
"linespace" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values) ⇒ Object



514
515
516
# File 'lib/kdl/kdl.tab.rb', line 514

def _reduce_none(val, _values)
  val[0]
end