Ejemplo n.º 1
0
 public CommClause(SimpleStmt Comm = default, slice <Stmt> Body = default, Pos Colon = default, node node = default)
 {
     this.Comm      = Comm;
     this.Body      = Body;
     this.Colon     = Colon;
     this.m_nodeRef = new ptr <node>(node);
 }
Ejemplo n.º 2
0
 public ForStmt(SimpleStmt Init = default, Expr Cond = default, SimpleStmt Post = default, ref ptr <BlockStmt> Body = default, stmt stmt = default)
 {
     this.Init      = Init;
     this.Cond      = Cond;
     this.Post      = Post;
     this.Body      = Body;
     this.m_stmtRef = new ptr <stmt>(stmt);
 }
Ejemplo n.º 3
0
 public SwitchStmt(SimpleStmt Init = default, Expr Tag = default, slice <ptr <CaseClause> > Body = default, Pos Rbrace = default, stmt stmt = default)
 {
     this.Init      = Init;
     this.Tag       = Tag;
     this.Body      = Body;
     this.Rbrace    = Rbrace;
     this.m_stmtRef = new ptr <stmt>(stmt);
 }
Ejemplo n.º 4
0
 public IfStmt(SimpleStmt Init = default, Expr Cond = default, ref ptr <BlockStmt> Then = default, Stmt Else = default, stmt stmt = default)
 {
     this.Init      = Init;
     this.Cond      = Cond;
     this.Then      = Then;
     this.Else      = Else;
     this.m_stmtRef = new ptr <stmt>(stmt);
 }