@NoImplement
public interface ComponentMetadataAst
| Modifier and Type | Field and Description |
|---|---|
static ComponentMetadataAst |
EMPTY_METADATA |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDocAttributes() |
OptionalInt |
getEndColumn() |
OptionalInt |
getEndLine() |
Optional<String> |
getFileName() |
Optional<URI> |
getFileUri() |
List<ImportedResource> |
getImportChain()
If the component with this location is in a root config file (not obtained through an
import tag), the returned list
will be empty. |
Map<String,Object> |
getParserAttributes() |
Optional<String> |
getSourceCode() |
OptionalInt |
getStartColumn() |
OptionalInt |
getStartLine() |
static final ComponentMetadataAst EMPTY_METADATA
Optional<String> getFileName()
Optional<URI> getFileUri()
List<ImportedResource> getImportChain()
import tag), the returned list
will be empty.
If the component with this location is obtained through an import, the first import will be the first element of the returned list. Any other nested imports will be the subsequent elements of the returned list.
List containing an element for every import tag leading to the file containing the owning
component.OptionalInt getStartLine()
getParserAttributes() and AstParserAttribute for more precise
DSL-specific location information.OptionalInt getStartColumn()
getParserAttributes() and AstParserAttribute for more precise
DSL-specific location information.OptionalInt getEndLine()
getParserAttributes() and AstParserAttribute for more precise
DSL-specific location information.OptionalInt getEndColumn()
getParserAttributes() and AstParserAttribute for more precise
DSL-specific location information.Optional<String> getSourceCode()
Map<String,String> getDocAttributes()
java.util.Map with the doc metadata from the source config.Copyright © 2022 MuleSoft, Inc.. All rights reserved.