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

Inheritance: DubFileReader
Exibir arquivo Open project: aBothe/Mono-D

Public Methods

Method Description
CanLoad ( string file ) : bool

Protected Methods

Method Description
Read ( DubProject target, Object input, List subPackages ) : void
ReadSubPackage ( DubProject superProject, Object definition ) : DubProject

Private Methods

Method Description
DeserializeDubPrjDependencies ( JSONObject j, DubBuildSettings settings ) : void
DeserializeFromPackageJson ( JSONObject j ) : DubProjectConfiguration
ExpectJsonArray ( JSONThing j, string propName ) : JSONArray
ExpectJsonObject ( JSONThing j, string propName ) : JSONObject
ExpectJsonStringValue ( JSONThing j, string propName ) : string
TryDeserializeBuildSetting ( DubBuildSettings cfg, string propName, JSONThing j ) : bool
TryPopulateProperty ( DubProject prj, string propName, JSONThing j, List subPackages ) : void

Method Details

CanLoad() public method

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

Read() protected method

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

ReadSubPackage() protected method

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