Uses of Class
net.sf.parcinj.MatchingResult

Packages that use MatchingResult
net.sf.parcinj ParCinJ core classes. 
 

Uses of MatchingResult in net.sf.parcinj
 

Fields in net.sf.parcinj declared as MatchingResult
static MatchingResult MatchingResult.OK
          Successful matching result.
 

Methods in net.sf.parcinj that return MatchingResult
static MatchingResult MatchingResult.failure(java.lang.String reason)
          Creates a matching failure for the specified reason.
 MatchingResult ZeroOrMore.matches(Token token)
          Returns OK.
 MatchingResult TerminalSymbolByType.matches(Token token)
          Returns OK if the specified token is not null and it is of equal type as specified in the constructor.
 MatchingResult TerminalSymbolByText.matches(Token token)
          Returns OK the specified token is not null and its token text equals the terminal symbol text specified in the constructor.
 MatchingResult Symbol.matches(Token token)
          Returns true if the specified token matches.
 MatchingResult SequenceOfSeparatedSymbols.matches(Token token)
          Returns OK.
 MatchingResult Sequence.matches(Token token)
          Returns OK if either the sequence is empty or the first symbol matches the specified token.
 MatchingResult Optional.matches(Token token)
          Returns OK.
 MatchingResult OneOrMore.matches(Token token)
          Returns OK if the wrapped symbol matches.
 MatchingResult NonTerminalSymbol.matches(Token token)
           
 MatchingResult Alternative.matches(Token token)
          Returns OK if at least one symbol matches the specified token.