protected TokenMatcher matchers(TokenMatcherFactory factory) {
   return factory.seq(
       factory.token(JavaIdentifier.class),
       factory.token(JavaAssignment.class),
       factory.token(JavaIdentifier.class, "Time"),
       factory.token(JavaCallKeywordStart.class, "millisecondsToRun"),
       factory.token(JavaBlockStart.class));
 }
 protected TokenMatcher matchers(TokenMatcherFactory factory) {
   return factory.seq(factory.token(JavaType.class), factory.token(JavaIdentifier.class));
 }
Exemplo n.º 3
0
 protected TokenMatcher matchers(TokenMatcherFactory factory) {
   return factory.seq(
       factory.token(JavaIdentifier.class, "String"),
       factory.token(JavaCallStart.class, "strlen"));
 }