Ejemplo n.º 1
0
 public static IParser <char, TraceToken> DelimitedComment()
 {
     return(Expect.Concatenation(
                ExpectCSharp.Whitespace(),
                ExpectCSharp.NewLine(),
                (ws, nl) => new DelimitedComment("") as TraceToken
                ));
 }
Ejemplo n.º 2
0
 public static IParser <char, TraceToken> Assignment()
 {
     return(Expect.Concatenation(
                ExpectCSharp.Whitespace(),
                ExpectCSharp.NewLine(),
                (ws, nl) => new LiteralAssignment(new string[] {}, null, "") as TraceToken
                ));
 }
Ejemplo n.º 3
0
 public static IParser <char, TraceToken> EmptyLine()
 {
     return(Expect.Concatenation(
                ExpectCSharp.Whitespace(),
                ExpectCSharp.NewLine(),
                (ws, nl) => new EmptyLine() as TraceToken
                ));
 }