123456789_123456789_123456789_123456789_123456789_

Class: YARD::Parser::Ruby::Legacy::RubyToken::TkId

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Token
Instance Chain:
self, Token
Inherits: YARD::Parser::Ruby::Legacy::RubyToken::Token
Defined in: lib/yard/parser/ruby/legacy/ruby_lex.rb

Overview

Represents a ::YARD::Parser::Ruby identifier

Constant Summary

Token - Inherited

NO_TEXT

Class Method Summary

Token - Inherited

.new

Creates a new Token object.

Instance Attribute Summary

Token - Inherited

Instance Method Summary

Token - Inherited

#set_text

Chainable way to sets the text attribute.

Constructor Details

.new(line_no, char_no, name) ⇒ TkId

[ GitHub ]

  
# File 'lib/yard/parser/ruby/legacy/ruby_lex.rb', line 73

def initialize(line_no, char_no, name)
  super(line_no, char_no)
  @name = name
end

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'lib/yard/parser/ruby/legacy/ruby_lex.rb', line 77

attr :name