Uses of Interface
edu.washington.cs.knowitall.regex.Expression
-
Packages that use Expression Package Description edu.washington.cs.knowitall.regex -
-
Uses of Expression in edu.washington.cs.knowitall.regex
Classes in edu.washington.cs.knowitall.regex that implement Expression Modifier and Type Class Description static classExpression.AssertionExpression<E>A non-consuming expression that matches a token against a property of the text, such as the start or end of a line.static classExpression.BaseExpression<E>An expression with no subexpression that is evaluated against a token using the supplied delegate.static classExpression.EndAssertion<E>A non-consuming expression that matches the end of a line.static classExpression.MatchingGroup<E>Represents a matching group that is referred to by order number.static classExpression.MinMax<E>A minimum to maximum number of occurrences of the enclosed expression.static classExpression.NamedGroup<E>Represents a matching group that is referred to by name.static classExpression.NonMatchingGroup<E>Represents a non-matching group.static classExpression.Option<E>Zero or one of the enclosed expression.static classExpression.Or<E>Disjunction of two experssions.static classExpression.Plus<E>One or more of the enclosed expression.static classExpression.Star<E>Kleene-star: zero or more of the enclosed expression.static classExpression.StartAssertion<E>A non-consuming expression that matches the start of a line.Fields in edu.washington.cs.knowitall.regex declared as Expression Modifier and Type Field Description (package private) Expression<E>Expression.MinMax. expr(package private) Expression<E>Expression.Option. exprExpression<E>Expression.Plus. exprExpression<E>Expression.Star. exprExpression<E>Match.Group. exprExpression<E>Expression.Or. expr1Expression<E>Expression.Or. expr2Expression<E>FiniteAutomaton.Edge. expressionExpression<E>FiniteAutomaton.TerminusState. expressionFields in edu.washington.cs.knowitall.regex with type parameters of type Expression Modifier and Type Field Description java.util.List<Expression<E>>Expression.MatchingGroup. expressionsjava.util.List<Expression<E>>RegularExpression. expressionsMethods in edu.washington.cs.knowitall.regex that return types with arguments of type Expression Modifier and Type Method Description java.util.List<Expression<E>>RegularExpressionParser. tokenize(java.lang.String string)Convert a list of tokens (<...>) to a list of expressions.Methods in edu.washington.cs.knowitall.regex with parameters of type Expression Modifier and Type Method Description booleanMatch. add(Expression<E> expr, E token, int pos)Convenience method for add(new Group(expr, token, pos)). private FiniteAutomaton.State<E>FiniteAutomaton.Automaton. buildMatch(java.util.Iterator<E> tokenIterator, Expression<E> expression, java.util.concurrent.atomic.AtomicInteger index, FiniteAutomaton.State<E> state, java.util.Iterator<FiniteAutomaton.AbstractEdge<E>> edgeIterator, Match.IntermediateMatch<E> match)Retrace the path through the NFA and produce an object that represents the match.voidFiniteAutomaton.State. connect(FiniteAutomaton.State<E> dest, Expression<E> cost)Add an edge between this state and dest.Method parameters in edu.washington.cs.knowitall.regex with type arguments of type Expression Modifier and Type Method Description static <E> FiniteAutomaton.Automaton<E>RegularExpression. build(java.util.List<Expression<E>> exprs)Build an NFA from the list of expressions.static <E> RegularExpression<E>RegularExpression. compile(java.util.List<Expression<E>> expressions)Create a regular expression without tokenization support.Constructors in edu.washington.cs.knowitall.regex with parameters of type Expression Constructor Description Automaton(Expression<E> expr)Edge(FiniteAutomaton.State<E> dest, Expression<E> base)EndState(Expression<E> expression)Group(Expression<E> expr)Group(Expression<E> expr, E token, int pos)Group(Expression<E> expr, java.util.List<Match.Group.Token<E>> tokens)MinMax(Expression<E> expr, int minOccurrences, int maxOccurrences)Option(Expression<E> expr)Or(Expression<E> expr1, Expression<E> expr2)Plus(Expression<E> expr)Star(Expression<E> expr)StartState(Expression<E> expression)TerminusState(Expression<E> expression)Constructor parameters in edu.washington.cs.knowitall.regex with type arguments of type Expression Constructor Description MatchingGroup(java.util.List<Expression<E>> expressions)NamedGroup(java.lang.String name, java.util.List<Expression<E>> expressions)NonMatchingGroup(java.util.List<Expression<E>> expressions)RegularExpression(java.util.List<Expression<E>> expressions)
-