#import "REAValueNode.h" @implementation REAValueNode { NSNumber *_value; } - (instancetype)initWithID:(REANodeID)nodeID config:(NSDictionary *)config { if (self = [super initWithID:nodeID config:config]) { _value = config[@"value"]; } return self; } - (void)setValue:(NSNumber *)value { _value = value; [self forceUpdateMemoizedValue:value]; } - (id)evaluate { return _value; } @end