123456789_123456789_123456789_123456789_123456789_

Class: YARD::Parser::Ruby::Legacy::RubyToken::TkOPASGN

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

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

TkOp - Inherited

Token - Inherited

#set_text

Chainable way to sets the text attribute.

Constructor Details

.new(line_no, char_no, op) ⇒ TkOPASGN

[ GitHub ]

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

def initialize(line_no, char_no, op)
  super(line_no, char_no)
  op = TkReading2Token[op] unless op.is_a?(Symbol)
  @op = op
end

Instance Attribute Details

#op (readonly)

[ GitHub ]

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

attr :op