class AdLint::Cpp::ErrorExpression
Attributes
error_token[R]
Public Class Methods
new(err_tok)
click to toggle source
Calls superclass method
AdLint::Cpp::Expression::new
# File lib/adlint/cpp/syntax.rb, line 722 def initialize(err_tok) super(0) @error_token = err_tok end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 737 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{@error_token.inspect})" end
location()
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 729 def location @error_token.location end
to_s()
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 733 def to_s "" end