Packages

trait ExtractDeclarationToFragment extends CodeActionResponsePlugin with FileExtractor with ShapeExtractor

Linear Supertypes
ShapeExtractor, FileExtractor, BaseElementDeclarableExtractors, DeclarationCreator, TreeKnowledge, CodeActionResponsePlugin, CodeActionPlugin[Seq[AbstractCodeAction]], TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractDeclarationToFragment
  2. ShapeExtractor
  3. FileExtractor
  4. BaseElementDeclarableExtractors
  5. DeclarationCreator
  6. TreeKnowledge
  7. CodeActionResponsePlugin
  8. CodeActionPlugin
  9. TelemeteredTask
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val findDialectForSemantic: (String) ⇒ Option[(SemanticExtension, Dialect)]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  2. abstract def fragmentBundle: Option[FragmentBundle]
    Attributes
    protected
  3. abstract val isApplicable: Boolean
    Definition Classes
    CodeActionPlugin
  4. abstract val kindTitle: CodeActionKindTitle
    Attributes
    protected
  5. abstract val params: CodeActionRequestParams
    Attributes
    protected
    Definition Classes
    TreeKnowledge

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val additionalAnnotations: Annotations
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragmentFileExtractor
  5. def afterInfoNode(baseUnit: BaseUnit, isJson: Boolean): Option[Position]
    Definition Classes
    DeclarationCreator
  6. val afterInfoRange: PositionRange
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  7. lazy val amfObject: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def beginType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  10. def buildFileEdit(editUri: String, editTextEdit: TextEdit, newUri: String, newTextEdit: TextEdit): Seq[AbstractWorkspaceEdit]
    Attributes
    protected
    Definition Classes
    FileExtractor
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  12. def code(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  13. def completeUri(name: String): String
    Attributes
    protected
    Definition Classes
    FileExtractor
  14. def containsPosition(obj: AmfObject, position: Option[Position]): Boolean
    Definition Classes
    ShapeExtractor
  15. def declarationName(amfObject: AmfObject, documentDefinition: DocumentDefinition): Option[String]
    Definition Classes
    DeclarationCreator
  16. def declarationPath(fdp: AmfObject, documentDefinition: DocumentDefinition): Seq[String]
    Definition Classes
    DeclarationCreator
  17. def declarationPathForDialect(documentDefinition: DocumentDefinition): Option[String]
    Definition Classes
    DeclarationCreator
  18. def endType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  19. lazy val entryAst: Option[YPart]

    The original node with lexical info for the declared node

    The original node with lexical info for the declared node

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  20. lazy val entryIndentation: Int

    The indentation for the existing node, as we already ensured it is a key, the first position gives de current indentation

    The indentation for the existing node, as we already ensured it is a key, the first position gives de current indentation

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  21. lazy val entryRange: Option[Range]

    The original range info for the declared node

    The original range info for the declared node

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. val extension: String
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragmentFileExtractor
  25. def externalFragment(de: DomainElement): Future[Fragment]
    Attributes
    protected
  26. def externalFragmentRendered(ef: Fragment): String
    Attributes
    protected
  27. final def extractAmfObject(maybeTree: Option[ObjectInTree], documentDefinition: DocumentDefinition): Option[AmfObject]

    Selected object if there is a clean match in the range and it is a declarable, or the parents range

    Selected object if there is a clean match in the range and it is a declarable, or the parents range

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  28. def extractable(maybeObject: Option[AmfObject], documentDefinition: DocumentDefinition): Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  29. val fallbackName: String
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragmentFileExtractor
  30. val fileName: Option[String]
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragmentFileExtractor
  31. def finalName(c: Option[Int] = None): Future[String]
    Attributes
    protected
    Definition Classes
    FileExtractor
  32. def findExistingKeyPart(bu: BaseUnit, uri: String, keyPath: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  34. def getExistingParts(maybePart: Option[ASTElement], keys: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  36. def isInlinedJsonSchema(shape: Shape): Boolean
    Definition Classes
    ShapeExtractor
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isJsonSchemaShape(obj: AmfObject): Boolean
    Definition Classes
    ShapeExtractor
  39. val jsonOptions: JsonRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  40. lazy val jsonRefEntry: YNode

    Fallback entry, should not be necessary as the link should be rendered

    Fallback entry, should not be necessary as the link should be rendered

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  41. lazy val linkEntry: Future[Option[TextEdit]]

    The entry which holds the reference for the new declaration ({"$ref": "declaration/$1"})

    The entry which holds the reference for the new declaration ({"$ref": "declaration/$1"})

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  42. val maybeTree: Option[ObjectInTree]
    Attributes
    protected
    Definition Classes
    TreeKnowledge
  43. def msg(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  44. final def nameNotInList(baseName: String, existing: Set[String], c: Option[Int]): String
    Definition Classes
    DeclarationCreator
    Annotations
    @tailrec()
  45. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def newName: String

    Placeholder for the new name (key and reference)

    Placeholder for the new name (key and reference)

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  49. lazy val position: Option[Position]

    Based on the chosen position from the range

    Based on the chosen position from the range

    Attributes
    protected
    Definition Classes
    TreeKnowledge
  50. def positionIsExtracted: Boolean
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  51. val relativeUri: String
    Attributes
    protected
    Definition Classes
    FileExtractor
  52. lazy val renderLink: Future[Option[YNode]]

    Render of the link generated by the new object

    Render of the link generated by the new object

    Attributes
    protected
    Definition Classes
    FileExtractorBaseElementDeclarableExtractors
  53. final def run(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Definition Classes
    TelemeteredTask
  54. lazy val sourceName: String
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  55. lazy val spec: Spec
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  56. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  57. def task(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def uri(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractDeclarationToFragment → TelemeteredTask
  60. def uuid(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    TelemeteredTask
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. def wholeUri: Future[String]
    Attributes
    protected
    Definition Classes
    FileExtractor
  65. lazy val yPartBranch: Option[YPartBranch]

    Information about the AST for the chosen position

    Information about the AST for the chosen position

    Attributes
    protected
    Definition Classes
    TreeKnowledge
  66. val yamlOptions: YamlRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ShapeExtractor

Inherited from FileExtractor

Inherited from DeclarationCreator

Inherited from TreeKnowledge

Inherited from CodeActionResponsePlugin

Inherited from CodeActionPlugin[Seq[AbstractCodeAction]]

Inherited from TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]]

Inherited from AnyRef

Inherited from Any

Ungrouped