diff options
| Commit | 7f006b88e5fd22963b3edba31140859436b93a55 (patch) | |
|---|---|---|
| Author | 2018-10-15 09:04:43 +0300 | |
| Committer | 2018-10-15 09:04:43 +0300 | |
| Files | cf70d955ed38aa14cd14da04f9eb1366d6e9deaa /JSImpl/src/Lexer.cpp | |
| IPL-7f006b88e5fd22963b3edba31140859436b93a55.tar IPL-7f006b88e5fd22963b3edba31140859436b93a55.tar.gz IPL-7f006b88e5fd22963b3edba31140859436b93a55.zip | ||
| Parent | 1147692d253fb00fcd09df114652621f8d89f595 (diff) | |
Fix tabulation.
1 files changed, 36 insertions, 36 deletions
| -rw-r--r-- | JSImpl/src/Lexer.cpp | 72 |
diff --git a/JSImpl/src/Lexer.cpp b/JSImpl/src/Lexer.cpp index 2e69087..0602f1a 100644 --- a/JSImpl/src/Lexer.cpp +++ b/JSImpl/src/Lexer.cpp @@ -3,50 +3,50 @@ namespace { - inline bool IsUpperCase(char c) - { - return c >= 'A' && c <= 'Z'; - } +inline bool IsUpperCase(char c) +{ + return c >= 'A' && c <= 'Z'; +} - inline bool IsLowerCase(char c) - { - return c >= 'a' && c <= 'z'; - } +inline bool IsLowerCase(char c) +{ + return c >= 'a' && c <= 'z'; +} - inline bool IsDigit(char c) - { - return c >= '0' && c <= '9'; - } +inline bool IsDigit(char c) +{ + return c >= '0' && c <= '9'; +} - inline bool IsValidIdentifierStartingChar(char c) - { - return IsUpperCase(c) || IsLowerCase(c) || c == '_'; - } +inline bool IsValidIdentifierStartingChar(char c) +{ + return IsUpperCase(c) || IsLowerCase(c) || c == '_'; +} - inline bool IsValidIdentifierChar(char c) - { - return IsValidIdentifierStartingChar(c) || IsDigit(c); - } +inline bool IsValidIdentifierChar(char c) +{ + return IsValidIdentifierStartingChar(c) || IsDigit(c); +} - inline bool IsStringBound(char c) - { - return c == '\'' || c == '"'; - } +inline bool IsStringBound(char c) +{ + return c == '\'' || c == '"'; +} - inline bool IsWhiteSpace(char c) - { - return c == ' ' || c == '\t'; - } +inline bool IsWhiteSpace(char c) +{ + return c == ' ' || c == '\t'; +} - inline bool IsNewLine(char c) - { - return c == '\n'; - } +inline bool IsNewLine(char c) +{ + return c == '\n'; +} - inline bool IsEnd(char c) - { - return c == '\0'; - } +inline bool IsEnd(char c) +{ + return c == '\0'; +} } struct Keyword |
