Method: EBNF::LL1::Lexer::Token#representation

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

#representationObject

Returns type, if not nil, otherwise value



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

def representation
  @type ? @type : @value
end