Rule class abstract
Constructors
- Rule.new(RuleBuilder ruleBuilder)
-
Rule.create(Rule oldRule, List<
Rule> subs, ShapeInstructions shapeInstructions)
Properties
- cat → String?
-
final
- closedMatcher → ClosedMatcher?
-
final
- elementMatcher → ElementMatcher
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instructions → Instructions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subRules
→ List<
Rule> -
final
- zoomlevelRange → ZoomlevelRange
-
final
Methods
-
addSubRule(
Rule rule) → void -
apply(
RuleVisitor v) → void -
createRule(
List< Rule> subs, ShapeInstructions shapeInstructions) → Rule -
dispose(
) → void -
getZoomlevelRangeClosedWay(
List< Tag> tags) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
getZoomlevelRangeNode(
PointOfInterest pointOfInterest) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
getZoomlevelRangeOpenWay(
List< Tag> tags) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
matchClosedWay(
Way way, Tile tile, List< Shape> matchingList) → void -
matches(
List< Tag> tags, int indoorLevel) → bool -
matchesForZoomLevel(
int zoomLevel) → bool - Returns true if this rule would apply for the given zoomLevel.
-
matchesForZoomlevelRange(
List< Tag> tags) → bool -
matchForZoomlevel(
int zoomlevel) → Rule? -
matchNode(
Tile tile, List< Shape> matchingList, NodeProperties nodeProperties) → void - finds all Shapes for a given node but does NOT check if the rul
-
matchOpenWay(
Way way, Tile tile, List< Shape> matchingList) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onComplete(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited