/// <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)))); }
/// <summary> /// Visit anonymous type. /// </summary> /// <param name="x"></param> virtual public void VisitAnonymousTypeDecl(AnonymousTypeDecl x) { VisitTypeDecl(x); }
public SourceAnonymousTypeSymbol(SourceFileSymbol file, AnonymousTypeDecl syntax) : base(file, syntax) { }
public AnonymousTypeRef(Span span, AnonymousTypeDecl typeDeclaration) : base(span) { _typeDeclaration = typeDeclaration; }