static int ReservedMatch(string text, int start) { int idLen = Identifier(text, start); if (idLen == 0) { return(0); } int matchReserved = ScannerUtils.MatchAny(text, start, ReservedWords); return(matchReserved == idLen ? matchReserved : 0); }
static int OperatorMatch(string text, int start) { return(ScannerUtils.MatchAny(text, start, Operators)); }