Lines Matching defs:Literal
411 } else { //if (isAlphabet(c) || isDigit(c) || TRUE){ // treat others as literal
425 char * operator()(const char * literal /*c-string*/){
427 for(;*literal != 0; literal++){
428 append(*literal);
506 class Literal : public Pick {
511 Literal(const char * s /*c-string*/){
919 default: token.append(c); // unknown escaping, treat it as literal
1081 node = new Literal(s.token);
1391 //// cannot type the literal here, it makes our code rather human unreadable
1422 Pick *p = new Literal(str);
1431 Literal n(s);
1438 seq.append(new Literal("abc "));
1439 seq.append(new Literal(", s"));
1446 alt.append(new Literal("aaa_10%"),10);
1447 alt.append(new Literal("bbb_0%"),0);
1448 alt.append(new Literal("ccc_10%"),10);
1449 alt.append(new Literal("ddddddd_50%"),50);
1480 Repeat rep(new Literal("aaa1-5 "), 1, 5);
1483 Repeat r2(new Literal("b{1,3}1%0%5% "), 1, 3, &Buffer_int().append(1).append(0).append(5));
1486 Repeat r3(new Literal("aaa5-5 "), 5, 5);
1494 Pick * value = new Literal("string1");
1499 Pick * value2 = new Literal("string2");
1502 Pick * value3 = new Literal("string3");
1514 Literal * n1 = new Literal("string1");
1515 Literal * n2 = new Literal("string2");
1695 .append(new Literal("a")).append(new Literal("b")).append(new Literal("c"))
1696 .append(new Literal("d")).append(new Literal("e")).append(new Literal("f"))
1697 .append(new Literal("g")).append(new Literal("h")).append(new Literal("i"))
1698 .append(new Literal("j")).append(new Literal("k")).append(new Literal("l"))
1699 .append(new Literal("m")).append(new Literal("n")).append(new Literal("o"))