Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LexedScript (0.18 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LexerTest.kt

                        "\nprintln(\"Yolo!\")",
                    buildscript, plugins
                ),
                equalTo(
                    Packaged(
                        null,
                        LexedScript(
                            listOf(
                                0..24,
                                26..60,
                                76..85,
                                128..137,
                                141..146
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

        )
    }
    
    
    internal
    data class LexedScript(
        val comments: List<IntRange>,
        val annotations: List<IntRange>,
        val topLevelBlocks: List<TopLevelBlock>
    )
    
    
    /**
     * Returns the comments and [top-level blocks][topLevelBlockIds] found in the given [script].
     */
    internal
    fun lex(script: String, vararg topLevelBlockIds: TopLevelBlockId): Packaged<LexedScript> {
    
        var packageName: String? = null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top