blob: c6fa554296800a37da77ccf03a9f01458eef8355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
|