reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/Kaleidoscope/Chapter2/toy.cpp
   37   while (isspace(LastChar))
   38     LastChar = getchar();
   40   if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
   41     IdentifierStr = LastChar;
   42     while (isalnum((LastChar = getchar())))
   43       IdentifierStr += LastChar;
   52   if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
   52   if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
   55       NumStr += LastChar;
   56       LastChar = getchar();
   57     } while (isdigit(LastChar) || LastChar == '.');
   57     } while (isdigit(LastChar) || LastChar == '.');
   63   if (LastChar == '#') {
   66       LastChar = getchar();
   67     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
   67     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
   67     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
   69     if (LastChar != EOF)
   74   if (LastChar == EOF)
   78   int ThisChar = LastChar;
   79   LastChar = getchar();