Sha256: 842707806e0e1877386d98702b16a0c9b6679ee6f33243fc44e086898b767a5f

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

module WebIDL
  module ParseTree
    class Callback < Treetop::Runtime::SyntaxNode

      def build(parent)
        Ast::Callback.new(
          name.text_value, 
          return_type.build(parent), 
          args.empty? ? [] : args.build(parent)
        )
      end

    end # Operation
  end # ParseTree
end # WebIDL

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/parse_tree/callback.rb
webidl-0.2.1 lib/webidl/parse_tree/callback.rb
webidl-0.1.10 lib/webidl/parse_tree/callback.rb
webidl-0.2.0 lib/webidl/parse_tree/callback.rb
webidl-0.1.9 lib/webidl/parse_tree/callback.rb
webidl-0.1.8 lib/webidl/parse_tree/callback.rb
webidl-0.1.7 lib/webidl/parse_tree/callback.rb
webidl-0.1.6 lib/webidl/parse_tree/callback.rb
webidl-0.1.5 lib/webidl/parse_tree/callback.rb