Пример #1
0
        public void TextNode()
        {
            var result = grammar.Text(Source("hello world"));

            Assert.AreEqual("hello world", result.Value.Text);

            var result2 = grammar.Text(Source("hello world"));

            Assert.AreEqual("hello", result2.Value.Text);
        }