diff --git a/src/parser/nodes.rs b/src/parser/nodes.rs index a89a3ae..93c4f63 100644 --- a/src/parser/nodes.rs +++ b/src/parser/nodes.rs @@ -2,4 +2,18 @@ * Eryn Wells */ -use types::boolean::Boolean; +use types::{Boolean, Number}; + +trait ConstantValue {} +impl ConstantValue for Boolean {} +impl ConstantValue for Number {} + +struct Constant { + value: V +} + +impl Constant { + fn new(value: V) -> Constant { + Constant { value: value } + } +}