C# Class MonoDevelop.D.Projects.Dub.DefinitionFormats.DubFileReader

Exibir arquivo Open project: aBothe/Mono-D Class Usage Examples

Public Methods

Method Description
CanLoad ( string file ) : bool
FillDubReferencesPaths ( DubProject prj ) : void
GetDubFilePath ( AbstractDProject @base, string subPath ) : string
Load ( DubProject superPackage, Solution parentSolution, Object streamReader, string originalFile ) : DubProject
Load ( string file, DubProject superProject, Solution parentSolution ) : DubProject

Protected Methods

Method Description
IntroduceConfiguration ( DubProject prj, DubProjectConfiguration projectConfiguration ) : void
Read ( DubProject target, Object streamReader, List subPackages ) : void
ReadSubPackage ( DubProject superProject, Object definition ) : DubProject

Private Methods

Method Description
CheckRequiredDepVersion ( string expectedVersion, string actualVersion ) : bool
CompareVersions ( Match expectedVer, Match actualVer ) : int

Compares the versions.

TryInterpretDubListOutput ( DubProject prj, string outp ) : bool

Method Details

CanLoad() public abstract method

public abstract CanLoad ( string file ) : bool
file string
return bool

FillDubReferencesPaths() public method

public FillDubReferencesPaths ( DubProject prj ) : void
prj DubProject
return void

GetDubFilePath() public static method

public static GetDubFilePath ( AbstractDProject @base, string subPath ) : string
@base AbstractDProject
subPath string
return string

IntroduceConfiguration() protected method

protected IntroduceConfiguration ( DubProject prj, DubProjectConfiguration projectConfiguration ) : void
prj DubProject
projectConfiguration DubProjectConfiguration
return void

Load() public method

public Load ( DubProject superPackage, Solution parentSolution, Object streamReader, string originalFile ) : DubProject
superPackage DubProject
parentSolution Solution
streamReader Object
originalFile string
return DubProject

Load() public method

public Load ( string file, DubProject superProject, Solution parentSolution ) : DubProject
file string
superProject DubProject
parentSolution Solution
return DubProject

Read() protected abstract method

protected abstract Read ( DubProject target, Object streamReader, List subPackages ) : void
target DubProject
streamReader Object
subPackages List
return void

ReadSubPackage() protected abstract method

protected abstract ReadSubPackage ( DubProject superProject, Object definition ) : DubProject
superProject DubProject
definition Object
return DubProject