ASTNode

interface ASTNode

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

children
Link copied to clipboard
common
abstract val children: List<ASTNode>
endOffset
Link copied to clipboard
common
abstract val endOffset: Int
parent
Link copied to clipboard
common
abstract val parent: ASTNode?
startOffset
Link copied to clipboard
common
abstract val startOffset: Int
type
Link copied to clipboard
common
abstract val type: IElementType

Inheritors

ASTNodeImpl
Link copied to clipboard

Extensions

accept
Link copied to clipboard
common
fun ASTNode.accept(visitor: Visitor)
acceptChildren
Link copied to clipboard
common
fun ASTNode.acceptChildren(visitor: Visitor)
findChildOfType
Link copied to clipboard
common
fun ASTNode.findChildOfType(type: IElementType): ASTNode?
getParentOfType
Link copied to clipboard
common
fun ASTNode.getParentOfType(vararg types: IElementType): ASTNode?
getTextInNode
Link copied to clipboard
common
fun ASTNode.getTextInNode(allFileText: CharSequence): CharSequence