PathElement

data class PathElement(type: Reflection.PathElementType, name: String, doEval: Boolean, params: List<Any?>)

Functions

component1
Link copied to clipboard
operator fun component1(): Reflection.PathElementType
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): Boolean
component4
Link copied to clipboard
operator fun component4(): List<Any?>
copy
Link copied to clipboard
fun copy(type: Reflection.PathElementType, name: String, doEval: Boolean = false, params: List<Any?> = listOf()): Reflection.PathElement
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

doEval
Link copied to clipboard
val doEval: Boolean = false

For key and index accesses, and function calls, whether to evaluate name instead of using params for arguments/key. This lets simple parsers be written and used, that can simply break up a common subset of many programming languages into string components without themselves having to analyze or understand any more complex semantics.

name
Link copied to clipboard
val name: String
params
Link copied to clipboard
val params: List<Any?>
type
Link copied to clipboard
val type: Reflection.PathElementType

Sources

jvm source
Link copied to clipboard