private static bool State8(FsmContext ctx) { bool result; while (ctx.L.GetChar()) { if (ctx.L.input_char < 48 || ctx.L.input_char > 57) { if (ctx.L.input_char == 32 || (ctx.L.input_char >= 9 && ctx.L.input_char <= 13)) { ctx.Return = true; ctx.NextState = 1; result = true; } else { int num = ctx.L.input_char; if (num != 44 && num != 93 && num != 125) { result = false; } else { ctx.L.UngetChar(); ctx.Return = true; ctx.NextState = 1; result = true; } } return(result); } ctx.L.string_buffer.Append((char)ctx.L.input_char); } result = true; return(result); }
private static bool State28(FsmContext ctx) { bool result; while (ctx.L.GetChar()) { if (ctx.L.input_char != 42) { if (ctx.L.input_char == 47) { ctx.NextState = 1; result = true; } else { ctx.NextState = 27; result = true; } return(result); } } result = true; return(result); }
private static bool State6(FsmContext ctx) { bool result; while (ctx.L.GetChar()) { if (ctx.L.input_char < 48 || ctx.L.input_char > 57) { if (ctx.L.input_char == 32 || (ctx.L.input_char >= 9 && ctx.L.input_char <= 13)) { ctx.Return = true; ctx.NextState = 1; result = true; } else { int num = ctx.L.input_char; if (num <= 69) { if (num != 44) { if (num != 69) { goto IL_113; } goto IL_EB; } } else if (num != 93) { if (num == 101) { goto IL_EB; } if (num != 125) { goto IL_113; } } ctx.L.UngetChar(); ctx.Return = true; ctx.NextState = 1; result = true; return(result); IL_EB: ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 7; result = true; return(result); IL_113: result = false; } return(result); } ctx.L.string_buffer.Append((char)ctx.L.input_char); } result = true; return(result); }
private static bool State4(FsmContext ctx) { ctx.L.GetChar(); bool result; if (ctx.L.input_char == 32 || (ctx.L.input_char >= 9 && ctx.L.input_char <= 13)) { ctx.Return = true; ctx.NextState = 1; result = true; } else { int num = ctx.L.input_char; if (num <= 69) { switch (num) { case 44: break; case 45: goto IL_108; case 46: ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 5; result = true; return(result); default: if (num != 69) { goto IL_108; } goto IL_E0; } } else if (num != 93) { if (num == 101) { goto IL_E0; } if (num != 125) { goto IL_108; } } ctx.L.UngetChar(); ctx.Return = true; ctx.NextState = 1; result = true; return(result); IL_E0: ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 7; result = true; return(result); IL_108: result = false; } return(result); }
private static bool State1(FsmContext ctx) { bool result; while (ctx.L.GetChar()) { if (ctx.L.input_char != 32 && (ctx.L.input_char < 9 || ctx.L.input_char > 13)) { if (ctx.L.input_char >= 49 && ctx.L.input_char <= 57) { ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 3; result = true; } else { int num = ctx.L.input_char; if (num <= 58) { if (num <= 39) { if (num == 34) { ctx.NextState = 19; ctx.Return = true; result = true; return(result); } if (num != 39) { goto IL_234; } if (!ctx.L.allow_single_quoted_strings) { result = false; return(result); } ctx.L.input_char = 34; ctx.NextState = 23; ctx.Return = true; result = true; return(result); } else { switch (num) { case 44: break; case 45: ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 2; result = true; return(result); case 46: goto IL_234; case 47: if (!ctx.L.allow_comments) { result = false; return(result); } ctx.NextState = 25; result = true; return(result); case 48: ctx.L.string_buffer.Append((char)ctx.L.input_char); ctx.NextState = 4; result = true; return(result); default: if (num != 58) { goto IL_234; } break; } } } else if (num <= 102) { switch (num) { case 91: case 93: break; case 92: goto IL_234; default: if (num != 102) { goto IL_234; } ctx.NextState = 12; result = true; return(result); } } else { if (num == 110) { ctx.NextState = 16; result = true; return(result); } if (num == 116) { ctx.NextState = 9; result = true; return(result); } switch (num) { case 123: case 125: break; case 124: goto IL_234; default: goto IL_234; } } ctx.NextState = 1; ctx.Return = true; result = true; return(result); IL_234: result = false; } return(result); } } result = true; return(result); }