Class: Lrama::Lexer::Token::UserCode

Inherits:
Lrama::Lexer::Token show all
Defined in:
lib/lrama/lexer/token/user_code.rb

Instance Attribute Summary collapse

Attributes inherited from Lrama::Lexer::Token

#alias_name, #location, #referred, #s_value

Instance Method Summary collapse

Methods inherited from Lrama::Lexer::Token

#==, #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

Instance Attribute Details

#tagObject

: Lexer::Token::Tag



10
11
12
# File 'lib/lrama/lexer/token/user_code.rb', line 10

def tag
  @tag
end

Instance Method Details

#referencesObject



13
14
15
# File 'lib/lrama/lexer/token/user_code.rb', line 13

def references
  @references ||= _references
end