- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EndPos (0.2 sec)
-
src/cmd/compile/internal/syntax/positions.go
// the returned position is the end position of the last enclosed // expression. // Thus, EndPos should not be used for exact demarcation of the // end of a node in the source; it is mostly useful to determine // scope ranges where there is some leeway. func EndPos(n Node) Pos { for m := n; ; { switch n := m.(type) { case nil: panic("nil node") // packages case *File:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
settings.gradle.kts
throw IllegalArgumentException("Could not locate the generated diagram in $markdownFile") } val endPos = content.subList(markerPos, content.size).indexOfFirst { it.contains(endDiagram) && !it.contains(startDiagram) } if (endPos < 0) { throw IllegalArgumentException("Could not locate the end of the generated diagram in $markdownFile") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 16.4K bytes - Viewed (0)