protected Statement(Context cx, TSyntax stmt, Kinds.StmtKind kind, IStatementParentEntity parent, int child, Location location)
     : base(cx, kind, parent, child)
 {
     Stmt          = stmt;
     this.location = location;
     cx.BindComments(this, location.Symbol);
 }
Пример #2
0
 protected Statement(Context cx, Kinds.StmtKind kind, IStatementParentEntity parent, int child)
     : base(cx)
 {
     this.kind   = kind;
     this.parent = parent;
     this.child  = child;
 }
 protected Statement(Context cx, TSyntax stmt, Kinds.StmtKind kind, IStatementParentEntity parent, int child)
     : this(cx, stmt, kind, parent, child, cx.CreateLocation(stmt.FixedLocation()))
 {
 }