public void Visit(Yesno node) { }
public void Visit(Yesno node) { if (node.Value.HasValue) return; Exceptions.Add(new TypeCheckerError("Yes/no value could not be interpreted correctly", node)); }
private WidgetBase GetWidget(QuestionUnit unit, Yesno type) { unit.InitialiseValue(GetTypeWrapper(type)); return new YesNoWidget(unit); }
private ITerminalWrapper GetTypeWrapper(Yesno type) { return new YesnoWrapper(type); }
public void Visit(Yesno node) { ReferenceTables.SetValue(node, new YesnoWrapper(node)); }
private YesnoWrapper CreateWrapperFor(Yesno terminal) { return new YesnoWrapper(terminal); }
public override void ExitYesno(QLParser.YesnoContext context) { Yesno literal = new Yesno(context.YESNO().GetText(), SourceLocation.CreateFor(context)); AppendToAST(literal); }