public YesnoWrapper(Yesno value) { if (value != null) { Value = value.Value; } }
public YesnoWrapper(Yesno value) { if (value != null) { Value = value.Value; } }
public void Visit(Yesno node) { if (node.Value.HasValue) { return; } Exceptions.Add(new TypeCheckerError("Yes/no value could not be interpreted correctly", node)); }
public void Visit(Yesno node) { }
public void Visit(Yesno node) { ReferenceTables.SetValue(node, new YesnoWrapper(node)); }
private YesnoWrapper CreateWrapperFor(Yesno terminal) { return(new YesnoWrapper(terminal)); }
private ITerminalWrapper GetTypeWrapper(Yesno type) { return(new YesnoWrapper(type)); }
private WidgetBase GetWidget(QuestionUnit unit, Yesno type) { unit.InitialiseValue(GetTypeWrapper(type)); return(new YesNoWidget(unit)); }