mirror of
https://github.com/LucasVbr/croissant.git
synced 2026-05-13 17:12:10 +00:00
26 lines
463 B
Plaintext
26 lines
463 B
Plaintext
// Déclaration d'une variable de type entier
|
|
var a: entier = 4 + 2 + 3 * 1;
|
|
|
|
/*
|
|
SourceFile([
|
|
VariableStatement([
|
|
VariableDeclaration(
|
|
Type_Integer,
|
|
Identifier("a"),
|
|
BinaryExpression(
|
|
Add,
|
|
BinaryExpression(
|
|
Add,
|
|
Literal(Integer(4)
|
|
),
|
|
Literal(Integer(2))
|
|
),
|
|
BinaryExpression(
|
|
Multiply,
|
|
Literal(Integer(3)),
|
|
Literal(Integer(1))
|
|
))
|
|
)]
|
|
)]
|
|
)
|
|
*/ |