Permalink
Browse files

add license/ whitespace to transformer

  • Loading branch information...
1 parent 4538141 commit 2875d54b68bdf012917b3065916c1d85c2240cd8 @baroquebobcat baroquebobcat committed Sep 9, 2012
Showing with 17 additions and 0 deletions.
  1. +1 −0 lib/mirah/transform.rb
  2. +16 −0 lib/mirah/transform/transformer.rb
View
@@ -15,6 +15,7 @@
require 'base64'
require 'jruby'
+
require 'mirah/errors'
require 'mirah/transform/transformer'
require 'mirah/transform/ast_ext'
@@ -1,3 +1,18 @@
+# Copyright (c) 2010 The Mirah project authors. All Rights Reserved.
+# All contributing project authors may be found in the NOTICE file.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
module Mirah
module Transform
class Transformer
@@ -9,6 +24,7 @@ class Transformer
attr_reader :errors, :state
attr_accessor :filename
+
def initialize(state, typer)
@errors = []
@tmp_count = 0

0 comments on commit 2875d54

Please sign in to comment.