Class: Yass::Declarations::Content::Item::Attr

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/yass/declarations.rb

Constant Summary collapse

RUBY_METHODS =
%i(attribute fallback kind namespace_prefix namespace_url).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



3210
3211
3212
# File 'lib/yass/declarations.rb', line 3210

def accept(visitor)
  visitor.visit_declaration_content_item_attr(self)
end

#kindObject



3214
3215
3216
# File 'lib/yass/declarations.rb', line 3214

def kind
  :attr
end