Example #1
0
 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();
 }
Example #2
0
 public sealed override void VisitClassConstantDecl(ClassConstantDecl x)
 {
     VisitConstantDecl(x);
 }
Example #3
0
 /// <summary>
 /// Visit given constant and constant initializer expression.
 /// </summary>
 /// <param name="x"></param>
 virtual public void VisitClassConstantDecl(ClassConstantDecl x)
 {
     VisitConstantDecl(x);
 }
Example #4
0
 public override void VisitClassConstantDecl(ClassConstantDecl x)
 {
     base.VisitClassConstantDecl(x);
     this.ClassConstantDeclarations.Add(x);
 }