object ASTElementWrapper
Provides implicit extensions for AST element containment checks and conversions.
Responsibility
This object contains implicit classes that extend AST elements (both YAML and generic) with position containment and range conversion capabilities. It handles:
- Position containment checks for various AST element types
- Range conversions between AMF and internal position formats
- Location conversions for LSP responses
- Special handling for flow structures, quoted scalars, and null values
Implicit Classes
CommonASTOps- Basic containment for any ASTElementAlsPositionRange- Range conversions and containmentYSequenceOps,YMapEntryOps,AlsYMapOps, etc. - YAML-specific containment
Position Indexing
AMF positions are 1-indexed, while internal Position is 0-indexed.
The implicit conversions handle this transparently.
Related Classes
org.mulesoft.als.common.YPartBranch- Branch navigation with stack contextorg.mulesoft.als.common.YamlUtils- Position-based YAML navigationorg.mulesoft.als.common.dtoTypes.PositionRange- Internal range representation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ASTElementWrapper
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit class AlsPositionRange extends AnyRef
- implicit class CommonASTOps extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getIndentation(raw: String, position: Position): Int
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated