Class: Lrama::Lexer::Token::Char

Inherits:
Base
  • Object
show all
Defined in:
lib/lrama/lexer/token/char.rb

Instance Attribute Summary

Attributes inherited from Base

#alias_name, #errors, #location, #referred, #s_value

Instance Method Summary collapse

Methods inherited from Base

#==, #first_column, #first_line, #initialize, #invalid_ref, #last_column, #last_line, #referred_by?, #to_s

Constructor Details

This class inherits a constructor from Lrama::Lexer::Token::Base

Instance Method Details

#validateObject



9
10
11
# File 'lib/lrama/lexer/token/char.rb', line 9

def validate
  validate_ascii_code_range
end