class AdLint::Cpp::UnknownDirective
Attributes
token[R]
Public Class Methods
new(tok)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 504 def initialize(tok) @token = tok end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 514 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{@token.inspect})" end
location()
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 510 def location @token.location end