##// END OF EJS Templates
Слияние с v2
Слияние с v2

File last commit:

r177:a0ff6a0e9c44 ref20160224
r192:f1da3afc3521 merge release v2.1 default
Show More
AltToken.cs
17 lines | 528 B | text/x-csharp | CSharpLexer
cin
DFA refactoring
r162 using System;
namespace Implab.Automaton.RegularExpressions {
cin
refactoring
r177 public class AltToken: BinaryToken {
public AltToken(Token left, Token right)
cin
DFA refactoring
r162 : base(left, right) {
}
cin
refactoring
r177 public override void Accept(IVisitor visitor) {
cin
DFA refactoring
r162 Safe.ArgumentNotNull(visitor, "visitor");
visitor.Visit(this);
}
public override string ToString() {
cin
refactoring
r177 return String.Format(Right is BinaryToken ? "{0}|({1})" : "{0}|{1}", Left, Right);
cin
DFA refactoring
r162 }
}
}