public abstract class ParseResult extends Object
Constructor and Description |
---|
ParseResult() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableList<GlobSpecWithResult> |
getGlobManifestWithResult() |
abstract com.google.common.collect.ImmutableSet<String> |
getLoadedPaths()
Returns a set of extension paths that were loaded explicitly or transitively when parsing
current build or package file.
|
abstract PackageMetadata |
getPackage()
Contains the package defined in a package file.
|
abstract com.google.common.collect.ImmutableMap<String,Map<String,Object>> |
getRawRules()
Returns rules organized in a map where a key is a rule name and the value is a map with keys
representing rule parameters and values representing rule arguments.
|
abstract com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Optional<String>>> |
getReadConfigurationOptions()
Returns all configuration options accessed during parsing of the build or package file.
|
public abstract PackageMetadata getPackage()
public abstract com.google.common.collect.ImmutableMap<String,Map<String,Object>> getRawRules()
For example {"name": "my_rule", ...}
public abstract com.google.common.collect.ImmutableSet<String> getLoadedPaths()
public abstract com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Optional<String>>> getReadConfigurationOptions()
The schema is section->key->value
public abstract com.google.common.collect.ImmutableList<GlobSpecWithResult> getGlobManifestWithResult()
GlobSpec
with the corresponding set of expanded paths.