Package org.rascalmpl.interpreter.matching

Examples of org.rascalmpl.interpreter.matching.RegExpPatternValue


    }

    @Override
    public IMatchingResult buildMatcher(IEvaluatorContext eval) {
      List<InterpolationElement> elems = Arrays.<InterpolationElement>asList(new RegExpLiteral.StaticInterpolationElement(getString()));
      return new RegExpPatternValue(eval, this, elems, java.util.Collections.<String> emptyList());
    }
View Full Code Here


        }
        start = m.end(0);
      }
     
      resultRegExp.add(new StaticInterpolationElement(addGroups(subjectPat.substring(start, end), patternVars)));
      return new RegExpPatternValue(eval, this, resultRegExp, patternVars);
    }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.matching.RegExpPatternValue

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.