]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/expressions/Expressions.java
Fixed typo from build.p2.site org.apache.lucene4.queryparser definition
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / parsing / expressions / Expressions.java
1 package org.simantics.scl.compiler.internal.parsing.expressions;
2
3 import org.simantics.scl.compiler.elaboration.expressions.EVar;
4 import org.simantics.scl.compiler.elaboration.expressions.Expression;
5
6 public class Expressions {
7     
8     public static Expression[] vars(String[] names) {
9         Expression[] result = new Expression[names.length];
10         for(int i=0;i<names.length;++i)
11             result[i] = new EVar(names[i]);
12         return result;
13     }
14     
15 }