public bool VisitTypeAliasDecl(TypeAlias typeAlias) { if (!VisitDeclaration(typeAlias)) { return(false); } return(typeAlias.Type.Visit(this, typeAlias.QualifiedType.Qualifiers)); }
public ITypeAlias FindTypeAlias(string Name, bool Create = false) { var foundTypeAlias = Typedefs.FirstOrDefault(t => t.Name == Name); if (foundTypeAlias != null) { return((ITypeAlias)foundTypeAlias); } if (!Create) { return(null); } var talias = new TypeAlias(); talias.Name = Name; talias.Namespace = this; return(talias); }
public virtual string VisitTypeAliasDecl(TypeAlias typeAlias) { return(VisitDeclaration(typeAlias)); }
public bool VisitTypeAliasDecl(TypeAlias typeAlias) { return(VisitTypedefNameDecl(typeAlias)); }