Gets AST node by runtime type, if runtime type matches any.
runtime type to find the match for
Check if the AST node represents fragment
Load API asynchronously. The Promise is rejected with ApiLoadingError if the resulting Api contains errors and the 'rejectOnErrors' option is set to 'true'.
Path to API: local file system path or Web URL
Load options
Promise<Api>.
Load API asynchronously. The Promise is rejected with ApiLoadingError if the resulting Api contains errors and the 'rejectOnErrors' option is set to 'true'.
Path to API: local file system path or Web URL
Paths to extensions and overlays to be applied listed in the order of application. Relevant for RAML 1.0 only.
Load options
Promise<Api>.
Load API synchronously. If the 'rejectOnErrors' option is set to true, ApiLoadingError is thrown for Api which contains errors.
Path to API: local file system path or Web URL
Load options
Api instance.
Load API synchronously. If the 'rejectOnErrors' option is set to true, ApiLoadingError is thrown for Api which contains errors.
Path to API: local file system path or Web URL
Paths to extensions and overlays to be applied listed in the order of application. Relevant for RAML 1.0 only.
Load options
Api instance.
Load RAML asynchronously. May load both Api and Typed fragments. The Promise is rejected with ApiLoadingError if the resulting RAMLLanguageElement contains errors and the 'rejectOnErrors' option is set to 'true'.
Path to RAML: local file system path or Web URL
Paths to extensions and overlays to be applied listed in the order of application. Relevant for RAML 1.0 only.
Load options
Promise<RAMLLanguageElement>.
Load RAML synchronously. May load both Api and Typed fragments. If the 'rejectOnErrors' option is set to true, ApiLoadingError is thrown for RAML which contains errors.
Path to RAML: local file system path or Web URL
Paths to extensions and overlays to be applied listed in the order of application. Relevant for RAML 1.0 only.
Load options
RAMLLanguageElement instance.
Load RAML asynchronously. May load both Api and Typed fragments. If the 'rejectOnErrors' option is set to true, ApiLoadingError is thrown for RAML which contains errors.
content of the raml
RAMLLanguageElement instance.
Load RAML synchronously. May load both Api and Typed fragments. If the 'rejectOnErrors' option is set to true, ApiLoadingError is thrown for RAML which contains errors.
content of the raml
RAMLLanguageElement instance.
Generated using TypeDoc
Convert fragment representing node to FragmentDeclaration instance.