Class: Parser::Ruby25WithCLexer
- Inherits:
-
Ruby25
- Object
- Ruby25
- Parser::Ruby25WithCLexer
- Defined in:
- lib/c_lexer.rb
Instance Method Summary collapse
-
#initialize(builder = Parser::Builders::Default.new) ⇒ Ruby25WithCLexer
constructor
A new instance of Ruby25WithCLexer.
Constructor Details
#initialize(builder = Parser::Builders::Default.new) ⇒ Ruby25WithCLexer
Returns a new instance of Ruby25WithCLexer.
76 77 78 79 80 81 82 |
# File 'lib/c_lexer.rb', line 76 def initialize(builder=Parser::Builders::Default.new) super(builder) @lexer = ::Parser::CLexer.new(version) @lexer.diagnostics = @diagnostics @lexer.static_env = @static_env @lexer.context = @context end |