uk.me.parabola.mkgmap.osmstyle.eval
Class ExpressionReader

java.lang.Object
  extended by uk.me.parabola.mkgmap.osmstyle.eval.ExpressionReader

public class ExpressionReader
extends java.lang.Object

Read an expression from a style file.


Constructor Summary
ExpressionReader(TokenScanner scanner)
           
 
Method Summary
 java.util.Set<java.lang.String> getUsedTags()
          Tags used in all the expressions in this file.
 Op readConditions()
          Read the conditions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionReader

public ExpressionReader(TokenScanner scanner)
Method Detail

readConditions

public Op readConditions()
Read the conditions. They are terminated by a '[' or '{' character or by end of file.


getUsedTags

public java.util.Set<java.lang.String> getUsedTags()
Tags used in all the expressions in this file.

Returns:
A set of tag names.