Example #1
0
 public void EscapeStateTokenizeLiteral()
 {
     var lexer = new Lexer();
     var tokens = lexer.Tokenize("\\z");
     var expected = new LiteralToken { Character = 'z' };
     Assert.AreEqual(tokens.Last(), expected);
 }
Example #2
0
 public LiteralNode(LiteralToken token) :
     base(token)
 {
 }
Example #3
0
 public LiteralNode(LiteralToken token)
     : base(token)
 {
 }