public class Scope extends Object
| Constructor and Description |
|---|
Scope(Map<String,Object> data) |
Scope(Scope parent,
Map<String,Object> data) |
| Modifier and Type | Method and Description |
|---|---|
Map |
data()
Retrieve the data in the current scope
|
Object |
resolve(String var)
Retrieve the value of a key from this scope
|
Scope |
up()
Move up one level to the parent scope
|
public Scope up()
public Object resolve(String var)
var - key to retrievepublic Map data()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.