MCPcopy Create free account
hub / github.com/WheretIB/nullc / Parse

Method Parse

SupSpi/SupSpi.h:676–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674 ~IntNumberP(){}
675
676 virtual bool Parse(char** str, SpaceRule space)
677 {
678 char* curr = *str;
679 if(space)
680 space(str);
681 while(isDigit(*str[0]))
682 (*str)++;
683 if(curr == *str)
684 return false; //no characters were parsed
685 return true;
686 }
687 private:
688 int m_base;
689 };

Callers

nothing calls this directly

Calls 1

isDigitFunction · 0.70

Tested by

no test coverage detected