public object?Evaluate(PacketViewModel entity) { lexer.Reset(); tokens.Reset(); parser.Reset(); visitor.SetContext(entity); return(visitor.Visit(parser.expr())); }