edu.utep.cs.utjml.compiler
Class Main.UtJmlParseTask
java.lang.Object
org.multijava.mjc.Main.Task
org.multijava.mjc.Main.ParseTask
org.jmlspecs.checker.Main.JmlParseTask
edu.utep.cs.utjml.compiler.Main.UtJmlParseTask
- All Implemented Interfaces:
- Comparable, Main.Trees
- Enclosing class:
- Main
public class Main.UtJmlParseTask
- extends Main.JmlParseTask
This class parses a group of files, given by filenames as
strings, and generates a forest of ASTs.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main.UtJmlParseTask
public Main.UtJmlParseTask(ArrayList infiles)
Main.UtJmlParseTask
public Main.UtJmlParseTask(File fileName,
Main.ExpectedResult expected)
Main.UtJmlParseTask
public Main.UtJmlParseTask(File fileName,
boolean isRefinedCUnit,
Main.ExpectedResult expected)
- Constructs a new parse task for a refined file. The
boolean flag indicates that this is a refined compilation
unit. That information is passed to the parser and is used
to control how the types defined in the file are registered
in the environment.
parseFile
protected JCompilationUnitType parseFile(File file)
- Parses the given file and returns an AST representing it.
- Overrides:
parseFile in class Main.JmlParseTask
- Parameters:
file - the file to be parsed
- Returns:
- the compilation unit defined by this file, or
null if there was an error reading the file
also
requires file!=null && file.exists();
UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.