public class Define extends Stat
Constructor and Description |
---|
Define(String functionName,
ExprList exprList,
StatList statList,
Location location) |
Modifier and Type | Method and Description |
---|---|
void |
call(Env env,
Scope scope,
ExprList exprList,
Writer writer)
真正调用模板函数
|
void |
exec(Env env,
Scope scope,
Writer writer)
Define 的继承类可以覆盖此方法实现一些 register 类的动作
|
String |
getFunctionName() |
String[] |
getParameterNames() |
boolean |
isSourceModifiedForDevMode() |
void |
setEnvForDevMode(Env envForDevMode) |
String |
toString() |
getLocation, hasEnd, setExprList, setLocation, setStat, write
public String getFunctionName()
public String[] getParameterNames()
public void setEnvForDevMode(Env envForDevMode)
public boolean isSourceModifiedForDevMode()
Copyright © 2018. All rights reserved.