Marked scripting points with // SCRIPT: markers.

This commit is contained in:
Ilya Ryzhenkov
2014-03-17 23:16:54 +04:00
committed by Andrey Breslav
parent 618aea6218
commit e49f4a0722
26 changed files with 39 additions and 1 deletions
@@ -116,6 +116,7 @@ public class CodegenTestFiles {
List<AnalyzerScriptParameter> scriptParameterTypes = Lists.newArrayList();
List<Object> scriptParameterValues = Lists.newArrayList();
// SCRIPT: extract script params, move to ScriptingUtil
if (file.isScript()) {
Pattern scriptParametersPattern = Pattern.compile("param: (\\S+): (\\S+): (\\S.*)");
Matcher scriptParametersMatcher = scriptParametersPattern.matcher(file.getText());