public void VisitClassConstantDecl(ClassConstantDecl x, PhpMemberAttributes attributes) { _serializer.StartSerialize(typeof(ClassConstantDecl).Name, SerializeSpan(x.Span), new NodeObj("Name", x.Name.Name.Value), new NodeObj("MemberAttributes", MemberAttributesToString(attributes))); SerializePHPDoc(x.PHPDoc); VisitElement(x.Initializer); _serializer.EndSerialize(); }
public sealed override void VisitClassConstantDecl(ClassConstantDecl x) { VisitConstantDecl(x); }
/// <summary> /// Visit given constant and constant initializer expression. /// </summary> /// <param name="x"></param> virtual public void VisitClassConstantDecl(ClassConstantDecl x) { VisitConstantDecl(x); }
public override void VisitClassConstantDecl(ClassConstantDecl x) { base.VisitClassConstantDecl(x); this.ClassConstantDeclarations.Add(x); }