edu.rice.cs.drjava.project
Class ProjectFileParser.DocFilePropertyVisitor

java.lang.Object
  extended by edu.rice.cs.drjava.project.ProjectFileParser.DocFilePropertyVisitor
All Implemented Interfaces:
SEListVisitor<DocFile>
Enclosing class:
ProjectFileParser

private static class ProjectFileParser.DocFilePropertyVisitor
extends Object
implements SEListVisitor<DocFile>

Traverses the list of expressions found after "file" tag and returns the DocFile described by those properties.


Field Summary
private  boolean active
           
private  String fname
           
private  Date modDate
           
private  String pack
           
private  String pathRoot
           
private  Pair<Integer,Integer> scroll
           
private  Pair<Integer,Integer> select
           
 
Constructor Summary
ProjectFileParser.DocFilePropertyVisitor(String pr)
           
 
Method Summary
 DocFile forCons(Cons c)
           
 DocFile forEmpty(Empty c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fname

private String fname

select

private Pair<Integer,Integer> select

scroll

private Pair<Integer,Integer> scroll

active

private boolean active

pack

private String pack

modDate

private Date modDate

pathRoot

private String pathRoot
Constructor Detail

ProjectFileParser.DocFilePropertyVisitor

public ProjectFileParser.DocFilePropertyVisitor(String pr)
Method Detail

forCons

public DocFile forCons(Cons c)
Specified by:
forCons in interface SEListVisitor<DocFile>

forEmpty

public DocFile forEmpty(Empty c)
Specified by:
forEmpty in interface SEListVisitor<DocFile>