Sha256: 27c74a0ff6efd81670295313bb72d16ff08ecfb25d09abb88b72b9d8feed94ed
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 Bytes
Contents
module WebIDL module ParseTree class TypeSuffix < Treetop::Runtime::SyntaxNode def apply(type) if respond_to?(:array) && array.any? type.array = true end if respond_to?(:null) && null.any? type.nullable = true end raise NotImplementedError, "TypeSuffix + TypeSuffix" if suffix.any? end end # TypeSuffix end # ParseTree end # WebIDL
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webidl-0.1.2 | lib/webidl/parse_tree/type_suffix.rb |
webidl-0.1.1 | lib/webidl/parse_tree/type_suffix.rb |