public class Define extends Stat
Define class.
| 构造器和说明 |
|---|
Define(String functionName,
ExprList exprList,
StatList statList,
Location location)
Constructor for Define.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
call(Env env,
Scope scope,
ExprList exprList,
Writer writer)
call.
|
void |
exec(Env env,
Scope scope,
Writer writer)
exec.
|
String |
getFunctionName()
Getter for the field
functionName. |
String[] |
getParameterNames()
Getter for the field
parameterNames. |
boolean |
isSourceModifiedForDevMode()
isSourceModifiedForDevMode.
|
void |
setEnvForDevMode(Env envForDevMode)
Setter for the field
envForDevMode. |
String |
toString()
toString.
|
getLocation, hasEnd, setExprList, setLocation, setStat, writepublic String getFunctionName()
Getter for the field functionName.
String object.public String[] getParameterNames()
Getter for the field parameterNames.
String objects.public void setEnvForDevMode(Env envForDevMode)
Setter for the field envForDevMode.
envForDevMode - a Env object.public boolean isSourceModifiedForDevMode()
isSourceModifiedForDevMode.
Copyright © 2023. All rights reserved.