class AdLint::Cc1::TypedefTypeSpecifier
Attributes
token[R]
Public Class Methods
new(tok)
click to toggle source
Calls superclass method
AdLint::Cc1::SyntaxNode::new
# File lib/adlint/cc1/syntax.rb, line 2743 def initialize(tok) super() @token = tok end
Public Instance Methods
identifier()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2754 def identifier @token end
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2762 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{location.inspect}) " + @token.value end
location()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2750 def location head_location end
to_s()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2758 def to_s @token.value end