@Test public void should_compile() { assertThat(expression.compile(new CompilationHandler())).containsOnly(expression); assertThat(expression.toString()).isEqualTo("Pattern foo|bar"); }
@Override public String toString() { return "Pattern " + matcher.pattern().pattern(); }
PatternExpression extends NativeExpression implements org.sonar.sslr.internal.matchers.Matcher { @Override public String toString() { return "Pattern " + matcher.pattern().pattern(); } }
PatternExpression extends NativeExpression implements org.sonar.sslr.internal.matchers.Matcher { @Override public String toString() { return "Pattern " + matcher.pattern().pattern(); } PatternExpression(String regex); }
PatternExpression extends NativeExpression implements org.sonar.sslr.internal.matchers.Matcher { @Override public String toString() { return "Pattern " + matcher.pattern().pattern(); } PatternExpression(String regex); @Override void execute(Machine machine); @Override String toString(); }
PatternExpression extends NativeExpression implements org.sonar.sslr.internal.matchers.Matcher { @Override public String toString() { return "Pattern " + matcher.pattern().pattern(); } PatternExpression(String regex); @Override void execute(Machine machine); @Override String toString();  }