示例#1
0
 /**
  * @param featureURI the URI where the gherkin originated from. Typically a file path.
  * @param lineOffset the line offset within the uri document the gherkin was taken from. Typically
  *     0.
  */
 public void parse(String gherkin, String featureURI, int lineOffset) {
   formatter.uri(featureURI);
   this.featureURI = featureURI;
   this.lineOffset = lineOffset;
   pushMachine(machineName);
   lexer.scan(gherkin);
   popMachine();
 }
示例#2
0
 public I18n getI18nLanguage() {
   return lexer.getI18nLanguage();
 }