Class: Liquor::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/liquor/grammar/parser.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",
"comma",
"dot",
"endtag",
"ident",
"integer",
"keyword",
"lblock",
"lblock2",
"lbracket",
"linterp",
"lparen",
"op_div",
"op_eq",
"op_gt",
"op_geq",
"op_lt",
"op_leq",
"op_minus",
"op_mod",
"op_mul",
"op_neq",
"op_not",
"op_plus",
"pipe",
"plaintext",
"rblock",
"rbracket",
"rinterp",
"rparen",
"string",
"tag_ident",
"op_uminus",
"op_and",
"op_or",
"$start",
"block",
"interp",
"tag",
"expr",
"filter_chain",
"primary_expr",
"tuple",
"function_args",
"tuple_content",
"function_args_inside",
"function_keywords",
"filter_chain_cont",
"filter_call",
"tag_first_cont",
"tag_first_cont2",
"tag_next_cont",
"tag_next_cont2",
"tag_next_cont3" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object



880
881
882
# File 'lib/liquor/grammar/parser.rb', line 880

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