lisp
Class JavaParser

java.lang.Object
  |
  +--exp.Parser
        |
        +--lisp.JavaParser

public class JavaParser
extends Parser

JavaParser Analizzatore sintattico che accetta la sintassi JAVA

Version:
8/12/1999
Author:
Marco Chiesi

Fields inherited from class exp.Parser
curToken, lex, msgOut
 
Constructor Summary
JavaParser(Lexer lex)
          Costruttore
JavaParser(Lexer lex, OutputDevice msgOut)
          Costruttore
 
Method Summary
protected  Sexp argList()
          Lettura della lista di argomenti di una funzione
protected  Sexp exp()
          Lettura di un'espressione aritmetica
protected  Sexp factor()
          Lettura di un fattore
protected  Sexp impl()
          Lettura di una implicazione
protected  Sexp logExp()
          Lettura di una espressione logica
protected  Sexp logFact()
          Lettura di un fattore logico
protected  Sexp logTerm()
          Lettura di un termine logico
protected  Sexp prop()
          Lettura di una proposizione
protected  Sexp readSexp()
          Lettura di un'espressione
protected  Sexp relExp()
          Lettura di un'espressione relazionale
protected  Sexp term()
          Lettura di un termine
 
Methods inherited from class exp.Parser
atEOF, nextToken, parse, print, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaParser

public JavaParser(Lexer lex,
                  OutputDevice msgOut)
           throws java.lang.Exception
Costruttore

JavaParser

public JavaParser(Lexer lex)
           throws java.lang.Exception
Costruttore
Method Detail

readSexp

protected Sexp readSexp()
                 throws java.lang.Exception
Lettura di un'espressione
Overrides:
readSexp in class Parser

prop

protected Sexp prop()
             throws java.lang.Exception
Lettura di una proposizione

impl

protected Sexp impl()
             throws java.lang.Exception
Lettura di una implicazione

logExp

protected Sexp logExp()
               throws java.lang.Exception
Lettura di una espressione logica

logTerm

protected Sexp logTerm()
                throws java.lang.Exception
Lettura di un termine logico

logFact

protected Sexp logFact()
                throws java.lang.Exception
Lettura di un fattore logico

relExp

protected Sexp relExp()
               throws java.lang.Exception
Lettura di un'espressione relazionale

exp

protected Sexp exp()
            throws java.lang.Exception
Lettura di un'espressione aritmetica

term

protected Sexp term()
             throws java.lang.Exception
Lettura di un termine

factor

protected Sexp factor()
               throws java.lang.Exception
Lettura di un fattore

argList

protected Sexp argList()
                throws java.lang.Exception
Lettura della lista di argomenti di una funzione