Example #1
0
        public TopicDef CreateTopicDef(ExprSeq exprSeq)
        {
            TopicDef def = new TopicDef(exprSeq);

            AddChild(def);
            return(def);
        }
Example #2
0
        public override void Resolve()
        {
            base.Resolve();
            if (ExprSeq != null)
            {
                ExprSeq.Resolve();
            }
            List <Var> vars = new List <Var>();

            if (ExprSeq != null)
            {
                ExprSeq[0].CollectVariables(vars);
            }
            TaskDef.Parameters = vars;
        }
Example #3
0
 //
 public TopicDef(ExprSeq exprSeq)
     : this(AstNodeKind.TopicDef, null)
 {
     ExprSeq = exprSeq;
 }