module Vernacular::AST
Extends Vernacular
to support rewriting the AST
Constants
- PARSER_PATH
- VERSION
Public Instance Methods
input_to_storage(_content, filepath)
click to toggle source
Calls superclass method
# File lib/vernacular/ast.rb, line 29 def input_to_storage(_content, filepath) if filepath == PARSER_PATH raise ::Bootsnap::CompileCache::Uncompilable, "can't compile parser" end super end
load_iseq(filepath)
click to toggle source
Calls superclass method
# File lib/vernacular/ast.rb, line 21 def load_iseq(filepath) super unless filepath == PARSER_PATH end