Esempio n. 1
0
        public void Visit(LexemeIdentifier target, Access access)
        {
            AddSignature(target, access, requiresGeneration: false);                                   // Custom Lexeme is built-in
            Invoker invoker = (i, p, s, f) => $"ParseCustomLexeme({i}, {p}, {f}.{target.Identifier})"; // Invocation

            AddInvoker(target, invoker);
        }
        public String Visit(LexemeIdentifier target)
        {
            var value = target.Identifier;

            if (this.ShowHeader)
            {
                value = $"Lex: {value}";
            }
            return(value);
        }
Esempio n. 3
0
 public IParseFunction Visit(LexemeIdentifier target) => target;
 public void Visit(LexemeIdentifier target, Signature input)
 {
     BasicTargetWithInterfaceMethod(target, target.InterfaceMethod, input);
 }