Sha256: c885e120b774f26927e46469183ff3b3ccbfa32ac9a5f05b67ffccf27a1c58ba
Contents?: true
Size: 409 Bytes
Versions: 12
Compression:
Stored size: 409 Bytes
Contents
module WebIDL module ParseTree class Interface < Treetop::Runtime::SyntaxNode def build(parent) intf = Ast::Interface.new(parent, name.text_value) unless members.empty? members.build(intf) end unless inherits.empty? intf.inherits = inherits.build(parent) end intf end end # Interface end # ParseTree end # WebIDL
Version data entries
12 entries across 12 versions & 1 rubygems