diff options
Diffstat (limited to 'ext/ripper/ripper.rb.in')
-rw-r--r-- | ext/ripper/ripper.rb.in | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ext/ripper/ripper.rb.in b/ext/ripper/ripper.rb.in new file mode 100644 index 0000000000..c6fa554296 --- /dev/null +++ b/ext/ripper/ripper.rb.in @@ -0,0 +1,53 @@ +# +# This file is automatically generated from ripper.rb.in and parse.y. +# DO NOT MODIFY!!!!!! +# + +# +# ripper.rb +# +# Copyright (C) 2003,2004 Minero Aoki +# + +require 'ripper.so' + +class Ripper + def Ripper.parse(str, *args) + new.parse(str, *args) + end + + private + + def warn(fmt, *args) + end + + def warning(fmt, *args) + end + + def compile_error(msg) + end + + PARSER_EVENTS = [ +#include ids1 + ] + + SCANNER_EVENTS = [ +#include ids2 + ] + LEXER_EVENTS = SCANNER_EVENTS + + EVENTS = PARSER_EVENTS + SCANNER_EVENTS + + # + # Parser Events + # +#include handlers1 + + # + # Lexer Events + # + + def on__scan(event, token) + end +#include handlers2 +end |