| 
    KiCad PCB EDA Suite
    
   | 
 
#include <fast_float/fast_float.h>#include <cstdarg>#include <cstdio>#include <cstdlib>#include <cctype>#include <dsnlexer.h>#include <wx/translation.h>Go to the source code of this file.
Macros | |
| #define | FMT_CLIPBOARD _( "clipboard" ) | 
Functions | |
| static bool | isSpace (char cc) | 
| Test for whitespace.   | |
| bool | isDigit (char cc) | 
| static bool | isNumber (const char *cp, const char *limit) | 
| Return true if the next sequence of text is a number: either an integer, fixed point, or float with exponent.   | |
Variables | |
| static const KEYWORD | empty_keywords [1] = {} | 
| #define FMT_CLIPBOARD _( "clipboard" ) | 
Definition at line 34 of file dsnlexer.cpp.
Referenced by DSNLEXER::DSNLEXER(), and DSNLEXER::DSNLEXER().
      
  | 
  inline | 
Definition at line 469 of file dsnlexer.cpp.
Referenced by isNumber(), and NET_SETTINGS::ParseBusVector().
      
  | 
  static | 
Return true if the next sequence of text is a number: either an integer, fixed point, or float with exponent.
Stops scanning at the first non-number character, even if it is not whitespace.
| cp | is the start of the current token. | 
| limit | is the end of the current token. | 
Definition at line 491 of file dsnlexer.cpp.
References isDigit().
Referenced by DSNLEXER::NextTok().
      
  | 
  static | 
Test for whitespace.
Our whitespace, by our definition, is a subset of ASCII, i.e. no bytes with MSB on can be considered whitespace, since they are likely part of a multibyte UTF8 character.
Definition at line 448 of file dsnlexer.cpp.
Referenced by DSNLEXER::isSep(), PCB_IO_KICAD_LEGACY::loadPAD(), and DSNLEXER::NextTok().
      
  | 
  static | 
Definition at line 117 of file dsnlexer.cpp.
Referenced by DSNLEXER::DSNLEXER().