|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ArithExprParser | +--PrefixParser
Parseur d'expressions arithmétiques en notation préfixe.
Constructor Summary | |
(package private) |
PrefixParser()
|
Method Summary | |
(package private) ArithExpr |
parse(Reader r)
Parse une expression arithmétique en notation prefixe. |
private ArithExpr |
parse(StreamTokenizer st)
Analyseur syntaxique. |
(package private) ArithExpr |
parse(String s)
Parse une expression arithmétique à partir d'une chaîne de caractères. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
PrefixParser()
Method Detail |
ArithExpr parse(Reader r) throws IOException, ParseException
parse
in class ArithExprParser
r
- flot de caractères
IOException
- si un problème d'entrée/sortie survient.
ParseException
- si la syntaxe est incorrecte.private ArithExpr parse(StreamTokenizer st) throws IOException, ParseException
st
- analyseur lexical
IOException
ParseException
ArithExpr parse(String s) throws IOException, ParseException
s
- chaîne de caractères
ParseException
- si la syntaxe est incorrecte.
IOException
- si un problème d'entrée/sortie survient.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |