예제 #1
0
        protected virtual void OnParsed(ParserParts parsePart, string currentToken = "")
        {
            var e = new PartParsedEventArgs(parsePart, currentToken);

            //Console.WriteLine(e.ToString());
            PartParsed?.Invoke(this, e);
        }
예제 #2
0
 private void ParserOnPartParsed(object sender, PartParsedEventArgs e)
 {
     //Console.WriteLine('\t' + e.ToString());
     contextSwitch.AddNode(e.CurrentToken, e.ParsePart);
 }