Files
codeql/javascript/extractor/src/com/semmle/js/ast/Node.java
Max Schaefer c4fa29dd0f JavaScript: Autoformat extractor sources using google-java-format.
No special settings; command:

  find javascript/extractor/src -name "*.java" | xargs java -jar /path/to/google-java-format-1.7-all-deps.jar --replace
2019-02-28 14:30:06 +00:00

16 lines
323 B
Java

package com.semmle.js.ast;
/** Common superclass of all AST node types. */
public abstract class Node extends SourceElement implements INode {
private final String type;
public Node(String type, SourceLocation loc) {
super(loc);
this.type = type;
}
public final String getType() {
return type;
}
}