Sha256: 50c8a44e397f42e56fa639d379c9183e26a3ed4b18079a09c92bdaa497e52e0b
Contents?: true
Size: 790 Bytes
Versions: 6
Compression:
Stored size: 790 Bytes
Contents
require 'pione/transformer/transformer-module' require 'pione/transformer/literal-transformer' require 'pione/transformer/feature-expr-transformer' require 'pione/transformer/expr-transformer' require 'pione/transformer/flow-element-transformer' require 'pione/transformer/block-transformer' require 'pione/transformer/rule-definition-transformer' require 'pione/transformer/document-transformer' module Pione # Transformer is a name space for PIONE document transformers and provides # utilities. module Transformer # Transform by applying DocumentTransformer. # # @param syntax_tree [Hash] # target syntax tree # @return [Object] # transformed object def self.document(syntax_tree) DocumentTransformer.new.apply(syntax_tree) end end end
Version data entries
6 entries across 6 versions & 1 rubygems