示例#1
0
 private Parser <SimpleType> KnownSimpleType(string name, Type type)
 {
     return(from t in TokenGrammar.String(name)
            select new SimpleType(type));
 }
示例#2
0
 public Parser <StringReferenceType> StringType()
 {
     return(from keyword in TokenGrammar.String("string")
            select new StringReferenceType());
 }