SNRK-66: parseMd is added
This commit is contained in:
parent
0ef269ec5c
commit
49c350abad
@ -19,10 +19,6 @@ data class DependencyGraphVertex(
|
|||||||
val dependencies: MutableList<DependencyGraphEdge>
|
val dependencies: MutableList<DependencyGraphEdge>
|
||||||
)
|
)
|
||||||
|
|
||||||
// data class DependencyGraph(
|
|
||||||
// val root: DependencyGraphVertex
|
|
||||||
// )
|
|
||||||
|
|
||||||
enum class DependenceType {
|
enum class DependenceType {
|
||||||
INCLUDE
|
INCLUDE
|
||||||
}
|
}
|
||||||
@ -31,8 +27,9 @@ data class ParseResult(val dependencies: Dependencies, val vertex: DependencyGra
|
|||||||
|
|
||||||
typealias Dependencies = HashMap<DependenceType, MutableList<String>>
|
typealias Dependencies = HashMap<DependenceType, MutableList<String>>
|
||||||
|
|
||||||
// public suspend fun parseMd(mdFile: ByteArray): ParseResult {
|
public suspend fun parseMd(mdFile: ByteArray): ParseResult {
|
||||||
// }
|
TODO()
|
||||||
|
}
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Point(val line: Int, val column: Int, val offset: Int)
|
data class Point(val line: Int, val column: Int, val offset: Int)
|
||||||
|
Loading…
Reference in New Issue
Block a user