private WidgetBase GetWidget(QuestionUnit unit, Number type) { unit.InitialiseValue(GetTypeWrapper(type)); return new NumberWidget(unit); }
private ITerminalWrapper GetTypeWrapper(Number type) { return new NumberWrapper(type); }
private NumberWrapper CreateWrapperFor(Number terminal) { return new NumberWrapper(terminal); }
public void Visit(Number node) { }
public override void ExitNumber(QLParser.NumberContext context) { Number literal = new Number(context.NUMBER().GetText(), SourceLocation.CreateFor(context)); AppendToAST(literal); }