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));
 }
 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);
 }