class AdLint::Cc1::StandardTypeSpecifier

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 2722
def initialize(tok)
  super()
  @token = tok
end

Public Instance Methods

inspect(indent = 0) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2737
def inspect(indent = 0)
  " " * indent + short_class_name
end
location() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2729
def location
  head_location
end
to_s() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2733
def to_s
  @token.value
end