Class FollowMatchersVisitor

java.lang.Object
org.parboiled.matchervisitors.DefaultMatcherVisitor<Boolean>
org.parboiled.matchervisitors.FollowMatchersVisitor
All Implemented Interfaces:
MatcherVisitor<Boolean>

public class FollowMatchersVisitor extends DefaultMatcherVisitor<Boolean>
Collects the matchers that can legally follow the given matcher according to the grammar into a given list. The visitor returns true if the collected matchers are all possible followers, and false if other matchers higher up the rule stack can also follow.