feat: ADR-024/025/021 — string concat, try/catch/throw, nullable akış-analizi #115

Merged
saqut merged 60 commits from 0.1.0 into master 2026-06-20 21:36:43 +03:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit d5cdc00682 - Show all commits

View File

@ -65,6 +65,8 @@ private:
case TokenType::GREATER: case TokenType::GREATER:
case TokenType::LESS_EQUAL: case TokenType::LESS_EQUAL:
case TokenType::GREATER_EQUAL: case TokenType::GREATER_EQUAL:
case TokenType::AMPERSAND_AMPERSAND:
case TokenType::PIPE_PIPE:
return true; return true;
default: default:
return false; return false;
@ -83,8 +85,10 @@ private:
case TokenType::LESS: return l < r ? 1 : 0; case TokenType::LESS: return l < r ? 1 : 0;
case TokenType::GREATER: return l > r ? 1 : 0; case TokenType::GREATER: return l > r ? 1 : 0;
case TokenType::LESS_EQUAL: return l <= r ? 1 : 0; case TokenType::LESS_EQUAL: return l <= r ? 1 : 0;
case TokenType::GREATER_EQUAL: return l >= r ? 1 : 0; case TokenType::GREATER_EQUAL: return l >= r ? 1 : 0;
default: return 0; case TokenType::AMPERSAND_AMPERSAND: return (l && r) ? 1 : 0;
case TokenType::PIPE_PIPE: return (l || r) ? 1 : 0;
default: return 0;
} }
} }