public void Visit(Text node)
 {
 }
Esempio n. 2
0
        public void Visit(Text node)
        {
            if (node.Value != null) return;

            Exceptions.Add(new TypeCheckerError("String value could not be parsed and resulted in null", node));
        }
Esempio n. 3
0
 private WidgetBase GetWidget(QuestionUnit unit, Text type)
 {
     unit.InitialiseValue(GetTypeWrapper(type));
     return new TextWidget(unit);
 }
Esempio n. 4
0
 private ITerminalWrapper GetTypeWrapper(Text type)
 {
     return new TextWrapper(type);
 }
Esempio n. 5
0
 public void Visit(Text node)
 {
     ReferenceTables.SetValue(node, new TextWrapper(node));
 }
 private TextWrapper CreateWrapperFor(Text terminal)
 {
     return new TextWrapper(terminal);
 }
Esempio n. 7
0
 public override void ExitText(QLParser.TextContext context)
 {
     Text literal = new Text(context.TEXT().GetText(), SourceLocation.CreateFor(context));
     AppendToAST(literal);
 }