Java: PrintAst: Fix formatting

This commit is contained in:
Joe
2020-09-15 15:10:56 +01:00
parent 28338eb32e
commit 3be8fa5155
3 changed files with 7 additions and 7 deletions

View File

@@ -7,11 +7,11 @@
* @tags ide-contextual-queries/print-ast
*/
import java
import semmle.code.java.PrintAst
import definitions
import java
import semmle.code.java.PrintAst
import definitions
/**
/**
* The source file to generate an AST from.
*/
external string selectedSourceFile();
@@ -25,4 +25,4 @@ class PrintAstConfigurationOverride extends PrintAstConfiguration {
super.shouldPrint(e, l) and
l.getFile() = getEncodedFile(selectedSourceFile())
}
}
}

View File

@@ -87,7 +87,7 @@ class Top extends @top {
cached
string toString() { hasName(this, result) }
/**
/**
* Gets the name of a primary CodeQL class to which this element belongs.
*
* For most elements, this is simply the most precise syntactic category to

View File

@@ -17,4 +17,4 @@ class PrintAstConfigurationOverride extends PrintAstConfiguration {
* TWEAK THIS PREDICATE AS NEEDED.
*/
override predicate shouldPrint(Element e, Location l) { super.shouldPrint(e, l) }
}
}