示例#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;
 }