Method: Token#initialize

Defined in:
lib/raka/token.rb

#initialize(compiler, context, chain, inline_scope, input_exts: nil) ⇒ Token

Returns a new instance of Token.



32
33
34
35
36
37
38
39
# File 'lib/raka/token.rb', line 32

def initialize(compiler, context, chain, inline_scope, input_exts: nil)
  @compiler = compiler
  @context = context
  @chain = chain
  @inline_scope = inline_scope
  @options = {}
  @options[:input_exts] = input_exts
end