Ejemplo n.º 1
0
 /// <summary>
 /// Builds qualified name for an anonymous PHP class.
 /// Instead of name provided by parser, we do create our own which is more readable and shorter.
 /// </summary>
 /// <remarks>Wherever <see cref="AnonymousTypeDecl.QualifiedName"/> would be used, use this method instead.</remarks>
 public static QualifiedName GetAnonymousTypeQualifiedName(this AnonymousTypeDecl tdecl)
 {
     return(new QualifiedName(new Name(GetAnonymousTypeName(tdecl))));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Visit anonymous type.
 /// </summary>
 /// <param name="x"></param>
 virtual public void VisitAnonymousTypeDecl(AnonymousTypeDecl x)
 {
     VisitTypeDecl(x);
 }
Ejemplo n.º 3
0
 public SourceAnonymousTypeSymbol(SourceFileSymbol file, AnonymousTypeDecl syntax)
     : base(file, syntax)
 {
 }
Ejemplo n.º 4
0
 public AnonymousTypeRef(Span span, AnonymousTypeDecl typeDeclaration)
     : base(span)
 {
     _typeDeclaration = typeDeclaration;
 }