Method: EBNF::LL1::Lexer::Token#to_a

Defined in:
lib/ebnf/ll1/lexer.rb

#to_aArray

Returns an array representation of this token.

Returns:

  • (Array)


464
465
466
# File 'lib/ebnf/ll1/lexer.rb', line 464

def to_a
  [@type, @value]
end