com.greenpineyu.fel.function
类 Dollar

java.lang.Object
  继承者 com.greenpineyu.fel.function.Dollar
所有已实现的接口:
Function

public class Dollar
extends Object
implements Function

$函数,通过$获取class或者创建对象 ${Math} 结果为 Math.class ${Dollar.new} 结果为 new Dollar()

作者:
yuqingsong

构造方法摘要
Dollar()
           
 
方法摘要
 Object call(FelNode node, FelContext context)
          调用函数
 String getName()
          获取函数的名称
static void main(String[] args)
           
 SourceBuilder toMethod(FelNode node, FelContext ctx)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Dollar

public Dollar()
方法详细信息

getName

public String getName()
从接口 Function 复制的描述
获取函数的名称

指定者:
接口 Function 中的 getName
返回:

call

public Object call(FelNode node,
                   FelContext context)
从接口 Function 复制的描述
调用函数

指定者:
接口 Function 中的 call
返回:

toMethod

public SourceBuilder toMethod(FelNode node,
                              FelContext ctx)
指定者:
接口 Function 中的 toMethod

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.