public class ForStatement extends Node
| 构造器和说明 |
|---|
ForStatement(Span span,
VarIndex indexOrKey,
VarIndex value,
int varCount,
Expression mapOrArray,
List<Node> body) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
evaluate(MagicScriptContext context,
Scope scope) |
List<Node> |
getBody() |
Expression |
getMapOrArray()
Returns null if no index or key name was given
|
public Expression getMapOrArray()
public Object evaluate(MagicScriptContext context, Scope scope)
Copyright © 2020–2021. All rights reserved.