コード例 #1
0
 public PtRegularParameter(PonyTokenSpan span, PtIdentifier name, PtType type, PtExpression?value)
     : base(span)
 {
     Name  = name;
     Type  = type;
     Value = value;
 }
コード例 #2
0
 public PtField(PonyTokenSpan span, PtFieldKind kind, PtIdentifier name, PtType type, PtExpression?value, PtString?doc)
     : base(span)
 {
     Kind  = kind;
     Name  = name;
     Type  = type;
     Value = value;
 }
コード例 #3
0
 public PtSubType(PonyTokenSpan span, PtType sub, PtType super)
     : base(span)
 {
     Sub   = sub;
     Super = super;
 }
コード例 #4
0
 public PtAs(PonyTokenSpan span, PtExpression value, PtType type)
     : base(span)
 {
     Value = value;
     Type  = type;
 }
コード例 #5
0
 public PtViewpointType(PonyTokenSpan span, PtType type, PtType arrow)
     : base(span)
 {
     Type  = type;
     Arrow = arrow;
 }
コード例 #6
0
 public PtArrayType(PonyTokenSpan span, PtType type)
     : base(span)
 {
     Type = type;
 }