polyglot.frontend
Class ParserPass

java.lang.Object
  extended by polyglot.frontend.AbstractPass
      extended by polyglot.frontend.ParserPass
All Implemented Interfaces:
Pass

public class ParserPass
extends AbstractPass

A pass which runs a parser. After parsing it stores the AST in the Job. so it can be accessed by later passes.


Field Summary
 
Fields inherited from class polyglot.frontend.AbstractPass
exclusive_time, goal, inclusive_time
 
Constructor Summary
ParserPass(Compiler compiler, Goal goal)
           
 
Method Summary
 boolean run()
          Run the pass, returning true on success.
 java.lang.String toString()
           
 
Methods inherited from class polyglot.frontend.AbstractPass
exclusiveTime, goal, inclusiveTime, name, resetTimers, toggleTimers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserPass

public ParserPass(Compiler compiler,
                  Goal goal)
Method Detail

run

public boolean run()
Description copied from class: AbstractPass
Run the pass, returning true on success.

Specified by:
run in interface Pass
Specified by:
run in class AbstractPass

toString

public java.lang.String toString()
Overrides:
toString in class AbstractPass