[Mapcss] set quesion

Richard Fairhurst richard at systemeD.net
Thu Jul 15 09:26:42 BST 2010


On 15 Jul 2010, at 00:05, Komяpa <me at komzpa.net> wrote:

> 2010/7/13 Sebastian Spaeth <Sebastian at sspaeth.de>:
>> 
>>  What does "stop parsing" mean on "exit;"?
>> 
>> - Stop parsing the whole stylesheet on the first exit; instance?
>> - Stop parsing the rest of this style rule? (wwhatever comes after the exit;)
>> - Stop parsing the rest of the rules for the focal element? (most
>>  likely, I think)
>> 
>> Some more details would be helpful to implement that as intended. :-)
> 
> IMHO this thing was invented just for easier debugging of Halcyon and
> shouldn't be present in mapcss at all.

It's an optimisation, really - a little hackish addition to tell the parser to stop checking any rules from this point on, in circumstances where speed is really important. I agree it shouldn't be part of the core spec.

cheers
Richard



More information about the Mapcss mailing list