ifStatement abstract method
Returns a newly created if statement. The elseKeyword
and
elseStatement
can be null
if there is no else clause.
Implementation
IfStatement ifStatement(
Token ifKeyword,
Token leftParenthesis,
Expression condition,
Token rightParenthesis,
Statement thenStatement,
Token? elseKeyword,
Statement? elseStatement);