Sha256: 8806708d99df3dc44f4945db4f5694807885fa3e91adc0aeb4bb3a87283ab4bc

Contents?: true

Size: 815 Bytes

Versions: 2

Compression:

Stored size: 815 Bytes

Contents

module Gisele
  module Language
    module AST
      module Node

        def citrus_match
          tracking_markers[:citrus_match]
        end

        # Returns a label for this AST node
        def label
          ""
        end

        # Checks validity over the definition
        def ===(sexp)
          Language[rule_name] === sexp
        end

      end # module Node
    end # module AST
  end # module Language
end # module Gisele
require_relative 'task_def'
require_relative 'task_call_st'
require_relative 'while_st'
require_relative 'if_st'
require_relative 'else_clause'
require_relative 'elsif_clause'
require_relative 'case_st'
require_relative 'when_clause'
require_relative 'bool_expr'
require_relative 'bool_and'
require_relative 'bool_or'
require_relative 'bool_not'
require_relative 'var_ref'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gisele-language-0.6.0 lib/gisele/language/ast/node.rb
gisele-language-0.5.1 lib/gisele/language/ast/node.rb