public override FormObject VisitQuestion(QLMainParser.QuestionContext context) { string identifier = context.id().GetText(); PositionInText IdPosition = new PositionInText(context.id()); PositionInText position = new PositionInText(context); Types.Type typeName = context.type().Accept(new TypeVisitor()); Expression computation = context.computed() != null?context.computed().expression().Accept(new ExpressionVisitor()) : null; return(new Question(new Id(identifier, IdPosition), typeName, MakeLabel(context.label()), computation, position)); }