d.parser.expression

Undocumented in source.

Members

Functions

parseAddExpression
AstExpression parseAddExpression(TokenRange trange)

Parse +, - and ~

parseAddExpression
AstExpression parseAddExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseArguments
AstExpression[] parseArguments(TokenRange trange)

Parse function arguments

parseArguments
AstExpression[] parseArguments(TokenRange trange)
Undocumented in source. Be warned that the author may not have intended to support it.
parseAssignExpression
AstExpression parseAssignExpression(TokenRange trange)

Parse assignement expressions.

parseAssignExpression
AstExpression parseAssignExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseBitwiseAndExpression
AstExpression parseBitwiseAndExpression(TokenRange trange)

Parse &

parseBitwiseAndExpression
auto parseBitwiseAndExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseBitwiseOrExpression
AstExpression parseBitwiseOrExpression(TokenRange trange)

Parse |

parseBitwiseOrExpression
auto parseBitwiseOrExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseBitwiseXorExpression
AstExpression parseBitwiseXorExpression(TokenRange trange)

Parse ^

parseBitwiseXorExpression
auto parseBitwiseXorExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCharacterLiteral
CharacterLiteral parseCharacterLiteral(TokenRange trange)

Parse character literals

parseComparaisonExpression
AstExpression parseComparaisonExpression(TokenRange trange)

Parse ==, != and comparaisons

parseComparaisonExpression
AstExpression parseComparaisonExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseExpression
AstExpression parseExpression(TokenRange trange)

Parse Expression

parseIdentifierExpression
AstExpression parseIdentifierExpression(TokenRange trange, Identifier i)

Parse identifier expression

parseIntegerLiteral
IntegerLiteral parseIntegerLiteral(TokenRange trange)

Parse integer literals

parseLogicalAndExpression
AstExpression parseLogicalAndExpression(TokenRange trange)

Parse &&

parseLogicalAndExpression
auto parseLogicalAndExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLogicalOrExpression
AstExpression parseLogicalOrExpression(TokenRange trange)

Parse ||

parseLogicalOrExpression
auto parseLogicalOrExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseMulExpression
AstExpression parseMulExpression(TokenRange trange)

Parse *, / and %

parseMulExpression
AstExpression parseMulExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parsePostfixExpression
AstExpression parsePostfixExpression(TokenRange trange, AstExpression e)

Parse postfix ++, --, (...), ..., .identifier

parsePrimaryExpression
AstExpression parsePrimaryExpression(TokenRange trange)
Undocumented in source. Be warned that the author may not have intended to support it.
parseShiftExpression
AstExpression parseShiftExpression(TokenRange trange)

Parse <<, >> and >>>

parseShiftExpression
AstExpression parseShiftExpression(TokenRange trange, AstExpression lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStringLiteral
StringLiteral parseStringLiteral(TokenRange trange)

Parse string literals

parseTernaryExpression
AstExpression parseTernaryExpression(TokenRange trange)

Parse ?:

parseTernaryExpression
AstExpression parseTernaryExpression(TokenRange trange, AstExpression condition)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta