예제 #1
0
 /// <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();
 }
예제 #2
0
 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);
 }
예제 #3
0
 /// <summary>
 /// Visit constant declarations.
 /// </summary>
 /// <param name="x"></param>
 virtual public void VisitGlobalConstDeclList(GlobalConstDeclList x)
 {
     VisitElement(x.PHPDoc);
     VisitList(x.Constants);
 }
예제 #4
0
 public override void VisitGlobalConstDeclList(GlobalConstDeclList x)
 {
     Add(x);
 }
예제 #5
0
 public CustomAttributesProvider(GlobalConstDeclList node)
 {
     this.node = node;
 }