Added parsing support and parsing tests for ternary statements.