Function Lists.
More...
#include "utils.h"
#include <array>
#include <string>
Go to the source code of this file.
|
static bool | isFuncNoEnd (const std::string &str) noexcept |
|
static bool | isFuncNeedsEnd (const std::string &str) noexcept |
|
static bool | isFuncIsEnd (const std::string &str) noexcept |
|
static bool | isFunc (const std::string &str) noexcept |
|
Function Lists.
- Author
- Wuqiong Zhao (wqzha.nosp@m.o@se.nosp@m.u.edu.nosp@m..cn)
- Version
- 0.3.0
- Date
- 2024-01-20
- Copyright
- Copyright (c) 2022-2024 Wuqiong Zhao (Teddy van Jerry)
◆ isFunc()
static bool isFunc |
( |
const std::string & |
str | ) |
|
|
inlinestaticnoexcept |
◆ isFuncIsEnd()
static bool isFuncIsEnd |
( |
const std::string & |
str | ) |
|
|
inlinestaticnoexcept |
◆ isFuncNeedsEnd()
static bool isFuncNeedsEnd |
( |
const std::string & |
str | ) |
|
|
inlinestaticnoexcept |
◆ isFuncNoEnd()
static bool isFuncNoEnd |
( |
const std::string & |
str | ) |
|
|
inlinestaticnoexcept |
◆ functions_is_end
std::array functions_is_end |
|
static |
Initial value:= {
"END"s,
"ELSE"s,
"ELIF"s,
}
◆ functions_needs_end
std::array functions_needs_end |
|
static |
Initial value:= {
"ELSE"s, "ELIF"s, "FOR"s, "FOREVER"s, "FUNCTION"s, "IF"s, "LOOP"s, "WHILE"s,
}
◆ functions_no_end
std::array functions_no_end |
|
static |
Initial value:= { "BRANCH"s, "BREAK"s, "CALC"s, "CALL"s, "COMMENT"s, "CPP"s,
"ESTIMATE"s, "INIT"s, "LOG"s, "MATLAB"s, "MERGE"s, "NEW"s,
"OCTAVE"s, "PRINT"s, "PYTHON"s, "RECOVER"s, "SETCH"s }