Class: SeccompTools::Asm::SeccompAsmParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/seccomp-tools/asm/sasm.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",
"SYMBOL",
"A",
"LEN",
"ALU_OP",
"IF",
"ELSE",
"COMPARE",
"GOTO",
"GOTO_SYMBOL",
"RETURN",
"ACTION",
"MEM",
"INT",
"SYS_NUMBER",
"ARCH",
"DATA",
"INSTRUCTION_POINTER",
"ARGS",
"ARGS_H",
"X",
"HEX_INT",
"ARCH_VAL",
"SYSCALL",
"false",
"NEWLINE",
"\"=\"",
"\"(\"",
"\")\"",
"\"[\"",
"\"]\"",
"\"&\"",
"\"!\"",
"$start",
"prog",
"normalized_statement",
"terminator",
"symbols",
"newlines",
"statement",
"symbol",
"arithmetic",
"assignment",
"conditional",
"goto_expr",
"return_stat",
"alu_op_eq",
"x_constexpr",
"a",
"ASSIGN",
"a_rval",
"x",
"x_rval",
"memory",
"ax",
"constexpr",
"argument",
"comparison",
"else_block",
"compare",
"goto_symbol",
"LPAREN",
"comparison_",
"RPAREN",
"BANG",
"AND",
"ret_val",
"LBRACK",
"RBRACK",
"argument_long",
"alu_op",
"args",
"number" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values) ⇒ Object

reduce 76 omitted



774
775
776
# File 'lib/seccomp-tools/asm/sasm.tab.rb', line 774

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