Skip to content

Commit

Permalink
Removing debug calls
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Oct 6, 2022
1 parent 754c9f7 commit e27a2b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/main/kotlin/org/pathcheck/intellij/cql/AdaptedCqlLexer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ class AdaptedCqlLexer(input: CharStream?): cqlLexer(input) {
_text = null
do {
_type = Token.INVALID_TYPE
// System.out.println("nextToken line "+tokenStartLine+" at "+((char)input.LA(1))+
// " in mode "+mode+
// " at index "+input.index());
var ttype = try {
interpreter.match(_input, _mode)
} catch (e: LexerNoViableAltException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ abstract class CqlElementRef(element: IdentifierPSINode, textRange: TextRange) :

override fun isReferenceTo(def: PsiElement): Boolean {
val resolved = resolve()
println("${element.text} (${element.textRange}) ${resolved?.text} (${resolved?.textRange})")
println("Result " + def.text == resolved?.text && def.textRange == resolved?.textRange)

return def.text == resolved?.text && def.textRange == resolved?.textRange
}
}

0 comments on commit e27a2b3

Please sign in to comment.