File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,17 @@ namespace TINY
131
131
* @return True if an unclosed comment was detected, false otherwise.
132
132
*/
133
133
bool skipWhitespaceAndComments ();
134
+
135
+ /* *
136
+ * @brief Checks if a character is an operator or delimiter.
137
+ *
138
+ * This method determines if the given character is one of the recognized
139
+ * operators or delimiters in the TINY language.
140
+ *
141
+ * @param c The character to check.
142
+ * @return True if the character is an operator or delimiter, false otherwise.
143
+ */
144
+ bool isOperatorOrDelimiter (char c) const ;
134
145
};
135
146
} // namespace SCANNER
136
147
} // namespace TINY
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
#include " scanner.hpp"
11
- #include < cctype> // For character classification functions
12
- #include < stdexcept> // For exception handling (if needed)
11
+ #include < cctype>
12
+ #include < stdexcept>
13
13
#include < stack>
14
14
15
15
namespace TINY
You can’t perform that action at this time.
0 commit comments