Package org.hamcrest.text.pattern.internal.ast

Examples of org.hamcrest.text.pattern.internal.ast.Literal


    public Field(String name, PatternComponent pattern) {
  this.name = name;
  // TODO: clean this up and make the delimiter changeable
  Object[] args = new Object[] { "\"", new CaptureGroup(name, pattern),
    new Literal("\"") };
  this.sequence = Patterns.sequence(args);
    }
View Full Code Here


import org.hamcrest.text.pattern.internal.ast.Sequence;
import org.hamcrest.text.pattern.internal.ast.ZeroOrMore;

public abstract class Patterns {
    public static PatternComponent text(String text) {
  return new Literal(text);
    }
View Full Code Here

TOP

Related Classes of org.hamcrest.text.pattern.internal.ast.Literal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.