Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
N
O
P
R
S
T
U
V
A
Addition
- class
Addition
.
Noeuds + des expressions arithmétiques
Addition(ArithExpr, ArithExpr)
- Constructor for class
Addition
ArithExpr
- interface
ArithExpr
.
Expression arithmétique.
ArithExprParser
- class
ArithExprParser
.
Parseur d'expressions arithmétiques.
ArithExprParser()
- Constructor for class
ArithExprParser
C
Calc
- class
Calc
.
Petite calculatrice symbolique d'expressions arithmétiques.
Calc()
- Constructor for class
Calc
Construction d'une calculatrice avec le parseur par défaut.
Calc(ArithExprParser)
- Constructor for class
Calc
Construction d'une calculatrice en précisant le parseur des expressions.
Constant
- class
Constant
.
Constante d'une expression arithmétique.
Constant(double)
- Constructor for class
Constant
Construction d'une constante à partir d'une flottant
D
Division
- class
Division
.
Noeuds / des expressions arithmétiques
Division(ArithExpr, ArithExpr)
- Constructor for class
Division
E
env
- Variable in class
Calc
Environnement dans lequel sont stockés les affectations
Environment
- class
Environment
.
Environnement.
Environment()
- Constructor for class
Environment
eval()
- Method in interface
ArithExpr
Évaluation sans environnement.
eval()
- Method in class
Constant
Évaluation sans environnement
eval()
- Method in class
Operator
Évaluation sans environnement
eval()
- Method in class
Variable
Évaluation sans environnement
eval(Environment)
- Method in interface
ArithExpr
Évaluation avec environnement.
eval(Environment)
- Method in class
Constant
Évaluation avec environnement
eval(Environment)
- Method in class
Operator
Évaluation avec environnement
eval(Environment)
- Method in class
Variable
Évaluation avec environnement
execute(String)
- Method in class
Calc
Exécution d'une instruction.
G
get(String)
- Method in class
Environment
Retourne l'expression affectée à une variable.
get(String)
- Method in class
HashEnv
Retourne l'expression affectée à une variable
H
HashEnv
- class
HashEnv
.
Environnement implémenté par une table de hachage
HashEnv()
- Constructor for class
HashEnv
Création d'un environnement vide
I
InfixParser
- class
InfixParser
.
Parseur d'expressions arithmétiques en notation infixe.
InfixParser()
- Constructor for class
InfixParser
L
left
- Variable in class
Operator
Fils gauche
M
m
- Variable in class
HashEnv
Table de hachage pour stocker les affectation
Main
- class
Main
.
Classe contenant la méthode main qui réalise la boucle toplevel
Main()
- Constructor for class
Main
main(String[])
- Static method in class
Main
Méthode qui réalise la boucle toplevel.
Modulo
- class
Modulo
.
Noeuds % des expressions arithmétiques
Modulo(ArithExpr, ArithExpr)
- Constructor for class
Modulo
Multiplication
- class
Multiplication
.
Nœds * des expressions arithmétiques
Multiplication(ArithExpr, ArithExpr)
- Constructor for class
Multiplication
N
name
- Variable in class
Variable
Nom de la variable
O
operation(double, double)
- Method in class
Addition
Opération entre nombres flottants associée à ce noeud.
operation(double, double)
- Method in class
Division
Opération entre nombres flottants associée à ce noeud.
operation(double, double)
- Method in class
Modulo
Opération entre nombres flottants associée à ce noeud.
operation(double, double)
- Method in class
Multiplication
Opération entre nombres flottants associée à ce noeud.
operation(double, double)
- Method in class
Operator
Opération entre nombres flottants associée à ce nœud.
operation(double, double)
- Method in class
Puissance
Opération entre nombres flottants associée à ce noeud.
operation(double, double)
- Method in class
Substraction
Opération entre nombres flottants associée à ce noeud.
Operator
- class
Operator
.
Opérateur binaire d'une expression arithmétique.
Operator(ArithExpr, ArithExpr)
- Constructor for class
Operator
Création d'un opérateur à partir de ses deux fils
P
parse(Reader)
- Method in class
ArithExprParser
Parse une expression arithmétique à partir d'un flot de caractères.
parse(Reader)
- Method in class
InfixParser
Analyse syntaxique d'une expression arithmétique en notation infixe.
parse(Reader)
- Method in class
PrefixParser
Parse une expression arithmétique en notation prefixe.
parse(StreamTokenizer)
- Method in class
PrefixParser
Analyseur syntaxique.
parse(String)
- Method in class
ArithExprParser
Parse une expression arithmétique à partir d'une chaîne de caractères.
parseExpr(StreamTokenizer)
- Method in class
InfixParser
Parse les Expressions (E) de la grammaire
parseFact(StreamTokenizer)
- Method in class
InfixParser
Parse les Facteurs (F) de la grammaire
parser
- Variable in class
Calc
Parseur des expressions
parseTerm(StreamTokenizer)
- Method in class
InfixParser
Parse les Termes (T) de la grammaire
parseVariable(String)
- Static method in class
Calc
PrefixParser
- class
PrefixParser
.
Parseur d'expressions arithmétiques en notation préfixe.
PrefixParser()
- Constructor for class
PrefixParser
Puissance
- class
Puissance
.
Noeuds ^ des expressions arithmétiques
Puissance(ArithExpr, ArithExpr)
- Constructor for class
Puissance
put(String, ArithExpr)
- Method in class
Environment
Affectation d'une expression à une variable.
put(String, ArithExpr)
- Method in class
HashEnv
Affectation d'une expression à une variable
put(String, double)
- Method in class
Environment
Affectation d'une constante à une variable.
R
right
- Variable in class
Operator
Fils droit
S
Substraction
- class
Substraction
.
Noeuds - des expressions arithmétiques
Substraction(ArithExpr, ArithExpr)
- Constructor for class
Substraction
symbol()
- Method in class
Addition
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Division
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Modulo
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Multiplication
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Operator
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Puissance
Chaîne représentant l'opération en infixe
symbol()
- Method in class
Substraction
Chaîne représentant l'opération en infixe
T
tag()
- Method in class
Addition
Chaîne représentant l'opération en MathML
tag()
- Method in class
Division
Chaîne représentant l'opération en MathML
tag()
- Method in class
Modulo
Chaîne représentant l'opération en MathML
tag()
- Method in class
Multiplication
Chaîne représentant l'opération en MathML
tag()
- Method in class
Operator
Chaîne représentant l'opération en MathML
tag()
- Method in class
Puissance
Chaîne représentant l'opération en MathML
tag()
- Method in class
Substraction
Chaîne représentant l'opération en MathML
toMathML()
- Method in interface
ArithExpr
Chaîne représentant l'expression en MathML
toMathML()
- Method in class
Constant
Représentation MathML de l'expression
toMathML()
- Method in class
Operator
Représentation infixe de l'expression
toMathML()
- Method in class
Variable
Représentation MathML de l'expression
toString()
- Method in class
Constant
Représentation infixe de l'expression
toString()
- Method in class
Operator
Représentation infixe de l'expression
toString()
- Method in class
Variable
Représentation infixe de l'expression
U
UnboundVariableException
- exception
UnboundVariableException
.
Exception levée à l'évaluation d'une expression lorsqu'une variable n'est pas définie dans l'environnement
UnboundVariableException()
- Constructor for class
UnboundVariableException
UnboundVariableException(String)
- Constructor for class
UnboundVariableException
V
value
- Variable in class
Constant
Valeur de la constante
Variable
- class
Variable
.
Variable d'une expression arithmétique
Variable(String)
- Constructor for class
Variable
Construction d'une constante à partir de son nom
A
C
D
E
G
H
I
L
M
N
O
P
R
S
T
U
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes