log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
pub
>
ImplabNet
annotate Implab/Automaton/RegularExpressions/BinaryToken.cs @ 262:
f1696cdc3d7a
v3
v3.0.8
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Added IInitializable.Initialize() overload Added IRunnable.Start(), IRunnable.Start() overloads Fixed cancellation of the current operation when Stop() is called More tests
author
cin
date
Mon, 16 Apr 2018 02:12:39 +0300 (2018-04-15)
parents
a0ff6a0e9c44
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
162
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
1
using Implab;
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
2
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
3
namespace Implab.Automaton.RegularExpressions {
177
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
4
public abstract class BinaryToken: Token {
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
5
readonly Token m_left;
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
6
readonly Token m_right;
162
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
7
177
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
8
public Token Left {
162
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
9
get { return m_left; }
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
10
}
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
11
177
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
12
public Token Right {
162
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
13
get { return m_right; }
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
14
}
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
15
177
a0ff6a0e9c44
refactoring
cin
parents:
162
diff
changeset
+
−
16
protected BinaryToken(Token left, Token right) {
162
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
17
Safe.ArgumentNotNull(m_left = left, "left");
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
18
Safe.ArgumentNotNull(m_right = right, "right");
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
19
}
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
20
}
0526412bbb26
DFA refactoring
cin
parents:
diff
changeset
+
−
21
}