예제 #1
0
 public void Visit(Text node)
 {
 }
예제 #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));
        }
예제 #3
0
 private WidgetBase GetWidget(QuestionUnit unit, Text type)
 {
     unit.InitialiseValue(GetTypeWrapper(type));
     return new TextWidget(unit);
 }
예제 #4
0
 private ITerminalWrapper GetTypeWrapper(Text type)
 {
     return new TextWrapper(type);
 }
예제 #5
0
 public void Visit(Text node)
 {
     ReferenceTables.SetValue(node, new TextWrapper(node));
 }
예제 #6
0
 private TextWrapper CreateWrapperFor(Text terminal)
 {
     return new TextWrapper(terminal);
 }
예제 #7
0
 public override void ExitText(QLParser.TextContext context)
 {
     Text literal = new Text(context.TEXT().GetText(), SourceLocation.CreateFor(context));
     AppendToAST(literal);
 }