Skip to content

Commit

Permalink
feat(loc): add position to code data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 24, 2022
1 parent af79760 commit aebffba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ open class CodeDataStruct(
var Exports: Array<CodeExport> = arrayOf(),

// todo: select node useonly imports
var Extension: JsonElement = JsonObject(HashMap())
var Extension: JsonElement = JsonObject(HashMap()),

var Position: CodePosition = CodePosition()
) {
open fun isUtilClass(): Boolean {
return this.NodeName.lowercase().contains("util") ||
Expand Down

0 comments on commit aebffba

Please # to comment.