/// <summary> /// Visit constant declarations. /// </summary> /// <param name="x"></param> override public void VisitGlobalConstDeclList(GlobalConstDeclList x) { _serializer.StartSerialize(typeof(GlobalConstDeclList).Name, SerializeSpan(x.Span)); SerializePHPDoc(x.PHPDoc); base.VisitGlobalConstDeclList(x); _serializer.EndSerialize(); }
public override void VisitGlobalConstDeclList(GlobalConstDeclList x) { ConsumeToken(Tokens.T_CONST, "const"); VisitElementList(x.Constants, Tokens.T_COMMA, ","); ConsumeToken(Tokens.T_SEMI, ";", x.Span.End - 1); }
/// <summary> /// Visit constant declarations. /// </summary> /// <param name="x"></param> virtual public void VisitGlobalConstDeclList(GlobalConstDeclList x) { VisitElement(x.PHPDoc); VisitList(x.Constants); }
public override void VisitGlobalConstDeclList(GlobalConstDeclList x) { Add(x); }
public CustomAttributesProvider(GlobalConstDeclList node) { this.node = node; }