Search in sources :

Example 1 with InferContext

use of org.beetl.core.InferContext in project beetl2.0 by javamonkey.

the class TypeBindingProbe method infer.

/**
 * 确定表达式的类型
 */
protected void infer() {
    InferContext ctx = new InferContext();
    ctx.types = types;
    ctx.gt = this.program.gt;
    for (Statement st : this.program.metaData.statements) {
        st.infer(ctx);
    }
}
Also used : InferContext(org.beetl.core.InferContext) Statement(org.beetl.core.statement.Statement)

Aggregations

InferContext (org.beetl.core.InferContext)1 Statement (org.beetl.core.statement.Statement)1