Class: RubyLint::AST::Builder
- Inherits:
-
Parser::Builders::Default
- Object
- Parser::Builders::Default
- RubyLint::AST::Builder
- Defined in:
- lib/ruby-lint/ast/builder.rb
Overview
Custom AST builder class used to provide some extra additions/changes to the AST such as the use of a custom node class.
Instance Method Summary collapse
Instance Method Details
#n(type, children, location) ⇒ RubyLint::AST::Node
12 13 14 |
# File 'lib/ruby-lint/ast/builder.rb', line 12 def n(type, children, location) return Node.new(type, children, :location => location) end |