/// <summary> /// Creates the translation unit. /// </summary> /// <param name="visibility"></param> /// <param name="type"></param> /// <param name="name"></param> /// <returns></returns> protected override ITranslationUnit CreateTranslationUnit( VisibilityToken visibility, ITranslationUnit type, ITranslationUnit name) { return(FieldDefinitionTranslationUnit.Create(visibility, type, name)); }
/// <summary> /// Creates the translation unit. /// </summary> /// <param name="modifiers"></param> /// <param name="type"></param> /// <param name="name"></param> /// <returns></returns> protected override ITranslationUnit CreateTranslationUnit( ModifierTokens modifiers, ITranslationUnit type, ITranslationUnit name) { return(FieldDefinitionTranslationUnit.Create(modifiers, type, name)); }