Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.1
version = 3.9.6
runner.dialect = scala3
preset = IntelliJ
maxColumn = 120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ contains the entire local variable declaration without initialization, e.g., for
@flatgraph.help.Doc(info = """A location node summarizes a source code location.""")
def location: Iterator[nodes.Location] = wrappedCpg.graph._nodes(23).asInstanceOf[Iterator[nodes.Location]]

/** This node represents a type member of a class, struct or union, e.g., for the type declaration `class Foo{ int i ;
* }`, it represents the declaration of the variable `i`.
/** This node represents a type member of a class, struct or union, e.g., for the type declaration
* `class Foo{ int i ; }`, it represents the declaration of the variable `i`.
*/
@flatgraph.help.Doc(info = """This node represents a type member of a class, struct or union, e.g., for the
type declaration `class Foo{ int i ; }`, it represents the declaration of the
Expand Down
6 changes: 3 additions & 3 deletions schema2json/src/main/scala/Schema2Json.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object Schema2Json extends App {
val description = info.getDeclaringClass.getDeclaredMethod("description").invoke(null).asInstanceOf[String]
val providedByFrontend =
info.getDeclaringClass.getDeclaredMethod("providedByFrontend").invoke(null).asInstanceOf[Boolean]
("name" -> name) ~
("name" -> name) ~
("description" -> description) ~
("providedByFrontend" -> providedByFrontend)
}
Expand Down Expand Up @@ -106,7 +106,7 @@ object Schema2Json extends App {
.flatMap { edge =>
val schName = schemaName(edge.schemaInfo)
Some(
("name" -> edge.name) ~
("name" -> edge.name) ~
("comment" -> edge.comment) ~
("schema" -> schName)
)
Expand All @@ -120,7 +120,7 @@ object Schema2Json extends App {
.flatMap { prop =>
val schName = schemaName(prop.schemaInfo)
Some(
("name" -> prop.name) ~
("name" -> prop.name) ~
("comment" -> prop.comment) ~
("schema" -> schName)
)
Expand Down