m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/EnvironmentTable.java
blob: bfaeb79d73239456e4d35e63af320bcecf34139a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package pl.edu.mimuw.cloudatlas.interpreter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import pl.edu.mimuw.cloudatlas.model.ValueNull;

class EnvironmentTable extends Environment {
	private final Table table;

	public EnvironmentTable(Table table) {
		this.table = table;
	}

	public Result getIdent(String ident) {
        return new ResultColumn(table.getColumn(ident).getValue());
	}
}