class AdLint::ReplacedToken

Public Class Methods

new(type, val, loc, type_hint = nil, no_further_repl = true) click to toggle source
Calls superclass method AdLint::Token::new
# File lib/adlint/token.rb, line 117
def initialize(type, val, loc, type_hint = nil, no_further_repl = true)
  super(type, val, loc, type_hint)
  @need_no_further_replacement = no_further_repl
end

Public Instance Methods

eql?(rhs_tok) click to toggle source
# File lib/adlint/token.rb, line 130
def eql?(rhs_tok)
  equal?(rhs_tok)
end
hash() click to toggle source
# File lib/adlint/token.rb, line 134
def hash
  object_id
end
need_no_further_replacement?() click to toggle source
# File lib/adlint/token.rb, line 122
def need_no_further_replacement?
  @need_no_further_replacement
end
replaced?() click to toggle source
# File lib/adlint/token.rb, line 126
def replaced?
  true
end