Class: Yass::Declarations::Content

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

Defined Under Namespace

Modules: CounterStyle, Item Classes: Items, None, Normal

Constant Summary collapse

RUBY_METHODS =
%i(kind value).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



3112
3113
3114
# File 'lib/yass/declarations.rb', line 3112

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

#kindObject



3116
3117
3118
# File 'lib/yass/declarations.rb', line 3116

def kind
  :content
end