Last change
on this file since 1 was
1,
checked in by lnalod, 15 years ago
|
Initial import of YAO sources
|
File size:
504 bytes
|
Line | |
---|
1 | namespace antlr.debug |
---|
2 | { |
---|
3 | using System; |
---|
4 | |
---|
5 | public class NewLineEventArgs : ANTLREventArgs |
---|
6 | { |
---|
7 | public NewLineEventArgs() |
---|
8 | { |
---|
9 | } |
---|
10 | public NewLineEventArgs(int line) |
---|
11 | { |
---|
12 | Line = line; |
---|
13 | } |
---|
14 | |
---|
15 | public virtual int Line |
---|
16 | { |
---|
17 | get { return this.line_; } |
---|
18 | set { this.line_ = value; } |
---|
19 | } |
---|
20 | |
---|
21 | private int line_; |
---|
22 | |
---|
23 | |
---|
24 | /// <summary>This should NOT be called from anyone other than ParserEventSupport! |
---|
25 | /// </summary> |
---|
26 | public override string ToString() |
---|
27 | { |
---|
28 | return "NewLineEvent [" + line_ + "]"; |
---|
29 | } |
---|
30 | } |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.