Skip to main content

Module expressions

Module expressions 

Source
Expand description

Erlang expressions.

Modules§

components

Structs§

AnonymousFunctionExpr
fun ($CLAUSE ;?)+ end
BeginExpr
begin Body end
BinaryOpCallExpr
Expr BinaryOp Expr
BitstringComprehensionExpr
<< Expr || (Qualifier ,?)+ >>
BitstringConstructExpr
<< ($SEGMENT ,?)* >>
CaseExpr
case Expr of ($CLAUSE ;?)+ end
CatchExpr
catch Expr
DefinedFunctionExpr
fun ($MODULE :)? $NAME / $ARITY
FunctionCallExpr
$MODULE? $NAME ( ($ARG ,?)* )
IfExpr
if ($CLAUSE ;?)+ end
ImproperListConstructExpr
[ (Expr (, | |)?)* ]
ListComprehensionExpr
[ (Expr ,?)+ || (Qualifier ,?)+ ]
ListConstructExpr
[ (Expr ,?)* ]
MapUpdateExpr
$VALUE # { ($ENTRY, ,?)* }
NamedFunctionExpr
fun ($CLAUSE ;?)+ end
ReceiveExpr
receive ($CLAUSE ;?)* $TIMEOUT? end
RecordAccessExpr
$VALUE # $NAME . $FIELD
RecordConstructExpr
# $NAME { ($FIELD ,?)* }
RecordIndexExpr
# $NAME . $FIELD
RecordUpdateExpr
$VALUE # $NAME { ($FIELD ,?)* }
StringExpr
StringToken+
TryExpr
try Body $BRANCHES? $CATCH? $AFTER? end
TupleExpr
{ (Expr ,?)* }
UnaryOpCallExpr
UnaryOp Expr

Enums§

BaseExpr
BitstringExpr
BlockExpr
FullExpr
FunctionExpr
ListExpr
ListConstructExpr | ListComprehensionExpr | ImproperListConstructExpr
LiteralExpr
AtomToken | CharToken | FloatToken | IntegerToken | VariableToken | StringExpr | SigilStringToken
MapExpr
RecordAccessOrUpdateExpr
RecordConstructOrIndexExpr

Type Aliases§

ParenthesizedExpr