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
131131 * @return True if an unclosed comment was detected, false otherwise.
132132 */
133133 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 ;
134145 };
135146 } // namespace SCANNER
136147} // namespace TINY
Original file line number Diff line number Diff line change 88 */
99
1010#include " scanner.hpp"
11- #include < cctype> // For character classification functions
12- #include < stdexcept> // For exception handling (if needed)
11+ #include < cctype>
12+ #include < stdexcept>
1313#include < stack>
1414
1515namespace TINY
You can’t perform that action at this time.
0 commit comments