Java: PrintAst: Various minor fixes of typos

Fix references to C#

Fix getAPrimaryQlClass for JavadocTag

Fix typo for Import

Update test outputs
This commit is contained in:
Joe
2020-09-14 14:36:50 +01:00
parent 53ab8dac06
commit 28338eb32e
6 changed files with 6 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ class ImportOnDemandFromType extends Import {
override string toString() { result = "import " + this.getTypeHoldingImport().toString() + ".*" }
override string getAPrimaryQlClass() { result = "ImportOnDemandFromTypw" }
override string getAPrimaryQlClass() { result = "ImportOnDemandFromType" }
}
/**

View File

@@ -92,7 +92,7 @@ class JavadocTag extends JavadocElement, JavadocParent, @javadocTag {
/** Gets the text associated with this Javadoc tag. */
override string getText() { result = this.getChild(0).toString() }
override string getAPrimaryQlClass() { result = "Javadoc" }
override string getAPrimaryQlClass() { result = "JavadocTag" }
}
/** A Javadoc `@param` tag. */

View File

@@ -1,7 +1,7 @@
/**
* @name Print AST
* @description Outputs a representation of the Abstract Syntax Tree.
* @id csharp/print-ast
* @id java/print-ast
* @kind graph
*/