Ejemplo n.º 1
0
 public PtLocal(PonyTokenSpan span, PtLocalKind kind, PtIdentifier name, PtType?type)
     : base(span)
 {
     Kind = kind;
     Name = name;
     Type = type;
 }
Ejemplo n.º 2
0
 public PtMethod(PonyTokenSpan span,
                 PtMethodKind kind,
                 PtAnnotations?annotations,
                 bool bare,
                 PtCap?receiverCap,
                 PtIdentifier name,
                 PtTypeParameters?typeParameters,
                 PtParameters parameters,
                 PtType?returnType,
                 bool partial,
                 PtString?doc,
                 PtExpression?body)
     : base(span)
 {
     Kind           = kind;
     Annotations    = annotations;
     Bare           = bare;
     ReceiverCap    = receiverCap;
     Name           = name;
     TypeParameters = typeParameters;
     Parameters     = parameters;
     ReturnType     = returnType;
     Partial        = partial;
     Doc            = doc;
     Body           = body;
 }
Ejemplo n.º 3
0
 public PtRegularParameter(PonyTokenSpan span, PtIdentifier name, PtType type, PtExpression?value)
     : base(span)
 {
     Name  = name;
     Type  = type;
     Value = value;
 }
Ejemplo n.º 4
0
 public PtLambdaCaptureName(PonyTokenSpan span, PtIdentifier name, PtType?type, PtExpression?value)
     : base(span)
 {
     Name  = name;
     Type  = type;
     Value = value;
 }
Ejemplo n.º 5
0
 public PtTypeParameter(PonyTokenSpan span, PtIdentifier name, PtType?type, PtType?defaultType)
     : base(span)
 {
     Name        = name;
     Type        = type;
     DefaultType = defaultType;
 }
Ejemplo n.º 6
0
 public PtNominalType(PonyTokenSpan span, PtIdentifier name, PtTypeArguments?typeArguments, PtCap?cap, PtEphemAlias?ea)
     : base(span)
 {
     Name          = name;
     TypeArguments = typeArguments;
     Cap           = cap;
     Ea            = ea;
 }
Ejemplo n.º 7
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;
 }
Ejemplo n.º 8
0
 public PtClass(PonyTokenSpan span,
                PtClassKind kind,
                PtAnnotations?annotations,
                bool bare,
                PtCap?cap,
                PtIdentifier name,
                PtTypeParameters?typeParameters,
                PtType?provides,
                PtString?doc,
                PtMembers members)
     : base(span)
 {
     Kind           = kind;
     Annotations    = annotations;
     Bare           = bare;
     Cap            = cap;
     Name           = name;
     TypeParameters = typeParameters;
     Provides       = provides;
     Doc            = doc;
     Members        = members;
 }
Ejemplo n.º 9
0
 public PtIdsSingle(PonyTokenSpan span, PtIdentifier name)
     : base(span)
 {
 }
Ejemplo n.º 10
0
 public PtTilde(PonyTokenSpan span, PtIdentifier method)
     : base(span)
 {
     Method = method;
 }
Ejemplo n.º 11
0
 public PtNamedArgument(PonyTokenSpan span, PtIdentifier name, PtExpression value)
     : base(span)
 {
     Name  = name;
     Value = value;
 }
Ejemplo n.º 12
0
 public PtRef(PonyTokenSpan span, PtIdentifier name)
     : base(span)
 {
     Name = name;
 }
Ejemplo n.º 13
0
 public PtDotIdentifier(PonyTokenSpan span, PtIdentifier before, PtIdentifier after)
     : base(span)
 {
     Before = before;
     After  = after;
 }
Ejemplo n.º 14
0
 public PtDot(PonyTokenSpan span, PtIdentifier member)
     : base(span)
 {
     Member = member;
 }