Sha256: 54cfd79d121595d94561e6cbff99bacce03c939f7927ac23dcb110b1091c1ac5

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Visitor
      class Preparation
        module Expressions
          Preparation.on Node::Expression::Assignment => :visit_ignore
          Preparation.on Node::Expression::Call::Access => :visit_ignore
          Preparation.on Node::Expression::Call::Attribute => :visit_ignore
          Preparation.on Node::Expression::Call::Enum => :visit_ignore
          Preparation.on Node::Expression::Call::Module => :visit_ignore
          Preparation.on Node::Expression::Call::Self => :visit_ignore
          Preparation.on Node::Expression::Call::Unified => :visit_ignore
          Preparation.on Node::Expression::Literal => :visit_ignore
          Preparation.on Node::Expression::Operation::And => :visit_ignore
          Preparation.on Node::Expression::Operation::Neq => :visit_ignore
          Preparation.on Node::Expression::Operation::Normal => :visit_ignore
          Preparation.on Node::Expression::Operation::Or => :visit_ignore
          Preparation.on Node::Expression::Unit => :visit_ignore
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carbon-compiler-0.2.0 lib/carbon/compiler/visitor/preparation/expressions.rb