Class: WebIDL::ParseTree::TypeDef

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/webidl/parse_tree/typedef.rb

Instance Method Summary collapse

Instance Method Details

#build(parent) ⇒ Object



5
6
7
# File 'lib/webidl/parse_tree/typedef.rb', line 5

def build(parent)
  Ast::TypeDef.new(parent, type.text_value, name.text_value)
end