Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
experiments with static in kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 19, 2019
1 parent 58a1212 commit ed5e4df
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/main/java/com/andromeda/araserver/util/KeyWord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,16 @@ import java.io.InputStream


class KeyWord(parseIS:InputStream) {
val parse = parseIS

var parser:Parser? = null
final val parse = parseIS
val m =ParserModel(parse)
val parser = ParserFactory.create(m)


fun getKeyWords(mainVal:String): Array<out Parse>? {

return ParserTool.parseLine(mainVal, parser, 1)
}
init {
val m =ParserModel(parse)
parser = ParserFactory.create(m)
}


}

Expand Down

0 comments on commit ed5e4df

Please sign in to comment.