repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSelf.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Self;
/**
* The ASTSelf node implementation.
*/
public final class ASTSelf extends AbstractScalaNode<Self> {
ASTSelf(Self scalaNode) {
super(scalaNode);
... | 490 | 20.347826 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModVarParam.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModVarParam node implementation.
*/
public final class ASTModVarParam extends AbstractScalaNode<Mod.VarParam> {
ASTModVarParam(Mod.VarParam sca... | 526 | 21.913043 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeRefine.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeRefine node implementation.
*/
public final class ASTTypeRefine extends AbstractScalaNode<Type.Refine> {
ASTTypeRefine(Type.Refine scalaNo... | 522 | 21.73913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermInterpolate.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermInterpolate node implementation.
*/
public final class ASTTermInterpolate extends AbstractScalaNode<Term.Interpolate> {
ASTTermInterpolate... | 547 | 22.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/AbstractScalaNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import java.util.Comparator;
import net.sourceforge.pmd.lang.ast.AstVisitor;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.ast.impl.AbstractNode;
import net.s... | 2,449 | 26.222222 | 131 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatXml.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatXml node implementation.
*/
public final class ASTPatXml extends AbstractScalaNode<Pat.Xml> {
ASTPatXml(Pat.Xml scalaNode) {
super(s... | 501 | 20.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeFunction.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeFunction node implementation.
*/
public final class ASTTypeFunction extends AbstractScalaNode<Type.Function> {
ASTTypeFunction(Type.Functi... | 532 | 22.173913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ScalaParserVisitorAdapter.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import net.sourceforge.pmd.lang.ast.AstVisitorBase;
import net.sourceforge.pmd.lang.ast.Node;
/**
* An Adapter for the Scala Parser that implements the Visitor Pattern.
*
* @param <D>... | 619 | 25.956522 | 111 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatTyped.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatTyped node implementation.
*/
public final class ASTPatTyped extends AbstractScalaNode<Pat.Typed> {
ASTPatTyped(Pat.Typed scalaNode) {
... | 511 | 21.26087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ScalaParser.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import net.sourceforge.pmd.lang.ast.ParseException;
import net.sourceforge.pmd.lang.ast.Parser;
import net.sourceforge.pmd.lang.scala.ScalaLanguageModule;
import scala.meta.Dialect;
impo... | 1,153 | 32.941176 | 111 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ScalaTreeBuilder.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.HashMap;
import java.util.M... | 11,393 | 44.759036 | 138 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermWhile.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermWhile node implementation.
*/
public final class ASTTermWhile extends AbstractScalaNode<Term.While> {
ASTTermWhile(Term.While scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeAnnotate.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeAnnotate node implementation.
*/
public final class ASTTypeAnnotate extends AbstractScalaNode<Type.Annotate> {
ASTTypeAnnotate(Type.Annota... | 532 | 22.173913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermDo.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermDo node implementation.
*/
public final class ASTTermDo extends AbstractScalaNode<Term.Do> {
ASTTermDo(Term.Do scalaNode) {
super(... | 502 | 20.869565 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ScalaNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import net.sourceforge.pmd.lang.ast.AstVisitor;
import net.sourceforge.pmd.lang.ast.impl.GenericNode;
import scala.meta.Tree;
/**
* A Base interface of a Scala Node. Defines several re... | 1,579 | 28.259259 | 79 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitUnit.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitUnit node implementation.
*/
public final class ASTLitUnit extends AbstractScalaNode<Lit.Unit> {
ASTLitUnit(Lit.Unit scalaNode) {
su... | 603 | 20.571429 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnType.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnType node implementation.
*/
public final class ASTDefnType extends AbstractScalaNode<Defn.Type> {
ASTDefnType(Defn.Type scalaNode) {
... | 512 | 21.304348 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeApply.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeApply node implementation.
*/
public final class ASTTypeApply extends AbstractScalaNode<Type.Apply> {
ASTTypeApply(Type.Apply scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermTry.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermTry node implementation.
*/
public final class ASTTermTry extends AbstractScalaNode<Term.Try> {
ASTTermTry(Term.Try scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatAlternative.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatAlternative node implementation.
*/
public final class ASTPatAlternative extends AbstractScalaNode<Pat.Alternative> {
ASTPatAlternative(Pat.... | 541 | 22.565217 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermFor.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermFor node implementation.
*/
public final class ASTTermFor extends AbstractScalaNode<Term.For> {
ASTTermFor(Term.For scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnMacro.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnMacro node implementation.
*/
public final class ASTDefnMacro extends AbstractScalaNode<Defn.Macro> {
ASTDefnMacro(Defn.Macro scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermAscribe.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermAscribe node implementation.
*/
public final class ASTTermAscribe extends AbstractScalaNode<Term.Ascribe> {
ASTTermAscribe(Term.Ascribe sc... | 527 | 21.956522 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorGuard.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Enumerator;
/**
* The ASTEnumeratorGuard node implementation.
*/
public final class ASTEnumeratorGuard extends AbstractScalaNode<Enumerator.Guard> {
ASTEnumerato... | 553 | 23.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTInit.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Init;
/**
* The ASTInit node implementation.
*/
public final class ASTInit extends AbstractScalaNode<Init> {
ASTInit(Init scalaNode) {
super(scalaNode);
... | 490 | 20.347826 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModValParam.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModValParam node implementation.
*/
public final class ASTModValParam extends AbstractScalaNode<Mod.ValParam> {
ASTModValParam(Mod.ValParam sca... | 526 | 21.913043 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnDef.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnDef node implementation.
*/
public final class ASTDefnDef extends AbstractScalaNode<Defn.Def> {
ASTDefnDef(Defn.Def scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporter.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importer;
/**
* The ASTImporter node implementation.
*/
public final class ASTImporter extends AbstractScalaNode<Importer> {
ASTImporter(Importer scalaNode) {
... | 514 | 21.391304 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAbstract.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModAbstract node implementation.
*/
public final class ASTModAbstract extends AbstractScalaNode<Mod.Abstract> {
ASTModAbstract(Mod.Abstract sca... | 526 | 21.913043 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeAnd.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeAnd node implementation.
*/
public final class ASTTypeAnd extends AbstractScalaNode<Type.And> {
ASTTypeAnd(Type.And scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTQuasi.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Tree.Quasi;
/**
* The ASTQuasi node implementation.
*/
public final class ASTQuasi extends AbstractScalaNode<Quasi> {
ASTQuasi(Quasi scalaNode) {
super(s... | 501 | 20.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermRepeated.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermRepeated node implementation.
*/
public final class ASTTermRepeated extends AbstractScalaNode<Term.Repeated> {
ASTTermRepeated(Term.Repeat... | 532 | 22.173913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclVal.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;
/**
* The ASTDeclVal node implementation.
*/
public final class ASTDeclVal extends AbstractScalaNode<Decl.Val> {
ASTDeclVal(Decl.Val scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeOr.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeOr node implementation.
*/
public final class ASTTypeOr extends AbstractScalaNode<Type.Or> {
ASTTypeOr(Type.Or scalaNode) {
super(... | 502 | 20.869565 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDeclDef.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;
/**
* The ASTDeclDef node implementation.
*/
public final class ASTDeclDef extends AbstractScalaNode<Decl.Def> {
ASTDeclDef(Decl.Def scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatSeqWildcard.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatSeqWildcard node implementation.
*/
public final class ASTPatSeqWildcard extends AbstractScalaNode<Pat.SeqWildcard> {
ASTPatSeqWildcard(Pat.... | 541 | 22.565217 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitLong.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitLong node implementation.
*/
public final class ASTLitLong extends AbstractScalaNode<Lit.Long> {
ASTLitLong(Lit.Long scalaNode) {
su... | 603 | 20.571429 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeImplicitFunction.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeImplicitFunction node implementation.
*/
public final class ASTTypeImplicitFunction extends AbstractScalaNode<Type.ImplicitFunction> {
AST... | 572 | 23.913043 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatWildcard.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatWildcard node implementation.
*/
public final class ASTPatWildcard extends AbstractScalaNode<Pat.Wildcard> {
ASTPatWildcard(Pat.Wildcard sca... | 526 | 21.913043 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermAssign.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermAssign node implementation.
*/
public final class ASTTermAssign extends AbstractScalaNode<Term.Assign> {
ASTTermAssign(Term.Assign scalaNo... | 522 | 21.73913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTEnumeratorVal.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Enumerator;
/**
* The ASTEnumeratorVal node implementation.
*/
public final class ASTEnumeratorVal extends AbstractScalaNode<Enumerator.Val> {
ASTEnumeratorVal(E... | 543 | 22.652174 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermPartialFunction.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermPartialFunction node implementation.
*/
public final class ASTTermPartialFunction extends AbstractScalaNode<Term.PartialFunction> {
ASTTer... | 567 | 23.695652 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitDouble.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitDouble node implementation.
*/
public final class ASTLitDouble extends AbstractScalaNode<Lit.Double> {
ASTLitDouble(Lit.Double scalaNode) {
... | 613 | 20.928571 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitNull.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitNull node implementation.
*/
public final class ASTLitNull extends AbstractScalaNode<Lit.Null> {
ASTLitNull(Lit.Null scalaNode) {
su... | 603 | 20.571429 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModFinal.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModFinal node implementation.
*/
public final class ASTModFinal extends AbstractScalaNode<Mod.Final> {
ASTModFinal(Mod.Final scalaNode) {
... | 511 | 21.26087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeApplyInfix.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeApplyInfix node implementation.
*/
public final class ASTTypeApplyInfix extends AbstractScalaNode<Type.ApplyInfix> {
ASTTypeApplyInfix(Typ... | 542 | 22.608696 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermSuper.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermSuper node implementation.
*/
public final class ASTTermSuper extends AbstractScalaNode<Term.Super> {
ASTTermSuper(Term.Super scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermPlaceholder.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermPlaceholder node implementation.
*/
public final class ASTTermPlaceholder extends AbstractScalaNode<Term.Placeholder> {
ASTTermPlaceholder... | 547 | 22.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTPatExtractInfix.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Pat;
/**
* The ASTPatExtractInfix node implementation.
*/
public final class ASTPatExtractInfix extends AbstractScalaNode<Pat.ExtractInfix> {
ASTPatExtractInfix(... | 546 | 22.782609 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermMatch.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermMatch node implementation.
*/
public final class ASTTermMatch extends AbstractScalaNode<Term.Match> {
ASTTermMatch(Term.Match scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitString.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitString node implementation.
*/
public final class ASTLitString extends AbstractScalaNode<Lit.String> {
ASTLitString(Lit.String scalaNode) {
... | 613 | 20.928571 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitBoolean.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitBoolean node implementation.
*/
public final class ASTLitBoolean extends AbstractScalaNode<Lit.Boolean> {
ASTLitBoolean(Lit.Boolean scalaNod... | 618 | 21.107143 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermThis.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermThis node implementation.
*/
public final class ASTTermThis extends AbstractScalaNode<Term.This> {
ASTTermThis(Term.This scalaNode) {
... | 512 | 21.304348 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeMethod.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeMethod node implementation.
*/
public final class ASTTypeMethod extends AbstractScalaNode<Type.Method> {
ASTTypeMethod(Type.Method scalaNo... | 522 | 21.73913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnVal.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnVal node implementation.
*/
public final class ASTDefnVal extends AbstractScalaNode<Defn.Val> {
ASTDefnVal(Defn.Val scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeVar.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeVar node implementation.
*/
public final class ASTTypeVar extends AbstractScalaNode<Type.Var> {
ASTTypeVar(Type.Var scalaNode) {
s... | 508 | 20.208333 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeBounds.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeBounds node implementation.
*/
public final class ASTTypeBounds extends AbstractScalaNode<Type.Bounds> {
ASTTypeBounds(Type.Bounds scalaNo... | 522 | 21.73913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTSource.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import net.sourceforge.pmd.lang.ast.AstInfo;
import net.sourceforge.pmd.lang.ast.Parser.ParserTask;
import net.sourceforge.pmd.lang.ast.RootNode;
import scala.meta.Source;
/**
* The AS... | 898 | 22.051282 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitInt.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitInt node implementation.
*/
public final class ASTLitInt extends AbstractScalaNode<Lit.Int> {
ASTLitInt(Lit.Int scalaNode) {
super(s... | 598 | 20.392857 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModAnnot.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModAnnot node implementation.
*/
public final class ASTModAnnot extends AbstractScalaNode<Mod.Annot> {
ASTModAnnot(Mod.Annot scalaNode) {
... | 511 | 21.26087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTCase.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Case;
/**
* The ASTCase node implementation.
*/
public final class ASTCase extends AbstractScalaNode<Case> {
ASTCase(Case scalaNode) {
super(scalaNode);
... | 491 | 19.5 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermApplyUnary.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermApplyUnary node implementation.
*/
public final class ASTTermApplyUnary extends AbstractScalaNode<Term.ApplyUnary> {
ASTTermApplyUnary(Ter... | 542 | 22.608696 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeTuple.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeTuple node implementation.
*/
public final class ASTTypeTuple extends AbstractScalaNode<Type.Tuple> {
ASTTypeTuple(Type.Tuple scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnObject.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnObject node implementation.
*/
public final class ASTDefnObject extends AbstractScalaNode<Defn.Object> {
ASTDefnObject(Defn.Object scalaNo... | 522 | 21.73913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModOverride.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModOverride node implementation.
*/
public final class ASTModOverride extends AbstractScalaNode<Mod.Override> {
ASTModOverride(Mod.Override sca... | 609 | 24.416667 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermEta.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermEta node implementation.
*/
public final class ASTTermEta extends AbstractScalaNode<Term.Eta> {
ASTTermEta(Term.Eta scalaNode) {
s... | 507 | 21.086957 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermAnnotate.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermAnnotate node implementation.
*/
public final class ASTTermAnnotate extends AbstractScalaNode<Term.Annotate> {
ASTTermAnnotate(Term.Annota... | 532 | 22.173913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTImporteeWildcard.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importee;
/**
* The ASTImporteeWildcard node implementation.
*/
public final class ASTImporteeWildcard extends AbstractScalaNode<Importee.Wildcard> {
ASTImportee... | 556 | 23.217391 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTDefnClass.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;
/**
* The ASTDefnClass node implementation.
*/
public final class ASTDefnClass extends AbstractScalaNode<Defn.Class> {
ASTDefnClass(Defn.Class scalaNode) {... | 517 | 21.521739 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypePlaceholder.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypePlaceholder node implementation.
*/
public final class ASTTypePlaceholder extends AbstractScalaNode<Type.Placeholder> {
ASTTypePlaceholder... | 547 | 22.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermApplyType.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermApplyType node implementation.
*/
public final class ASTTermApplyType extends AbstractScalaNode<Term.ApplyType> {
ASTTermApplyType(Term.Ap... | 537 | 22.391304 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTLitFloat.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;
/**
* The ASTLitFloat node implementation.
*/
public final class ASTLitFloat extends AbstractScalaNode<Lit.Float> {
ASTLitFloat(Lit.Float scalaNode) {
... | 608 | 20.75 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeRepeated.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeRepeated node implementation.
*/
public final class ASTTypeRepeated extends AbstractScalaNode<Type.Repeated> {
ASTTypeRepeated(Type.Repeat... | 532 | 22.173913 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTypeExistential.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Type;
/**
* The ASTTypeExistential node implementation.
*/
public final class ASTTypeExistential extends AbstractScalaNode<Type.Existential> {
ASTTypeExistential... | 547 | 22.826087 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTTermIf.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Term;
/**
* The ASTTermIf node implementation.
*/
public final class ASTTermIf extends AbstractScalaNode<Term.If> {
ASTTermIf(Term.If scalaNode) {
super(... | 502 | 20.869565 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTNameAnonymous.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Name;
/**
* The ASTNameAnonymous node implementation.
*/
public final class ASTNameAnonymous extends AbstractScalaNode<Name.Anonymous> {
ASTNameAnonymous(Name.An... | 618 | 21.107143 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModInline.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModInline node implementation.
*/
public final class ASTModInline extends AbstractScalaNode<Mod.Inline> {
ASTModInline(Mod.Inline scalaNode) {
... | 516 | 21.478261 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/ast/ASTModCase.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Mod;
/**
* The ASTModCase node implementation.
*/
public final class ASTModCase extends AbstractScalaNode<Mod.Case> {
ASTModCase(Mod.Case scalaNode) {
su... | 506 | 21.043478 | 98 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/lang/scala/rule/ScalaRule.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.rule;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.rule.AbstractRule;
import net.sourceforge.pmd.lang.scala.ast.ScalaNode;... | 940 | 28.40625 | 101 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/cpd/ScalaTokenAdapter.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import net.sourceforge.pmd.lang.ast.GenericToken;
import net.sourceforge.pmd.lang.document.Chars;
import net.sourceforge.pmd.lang.document.FileLocation;
import net.sourceforge.pmd.lang.document.Tex... | 2,005 | 24.717949 | 93 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/cpd/ScalaTokenizer.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.io.IOException;
import java.util.Properties;
import org.apache.commons.lang3.StringUtils;
import net.sourceforge.pmd.cpd.token.internal.BaseTokenFilter;
import net.sourceforge.pmd.lan... | 6,261 | 34.988506 | 131 | java |
pmd | pmd-master/pmd-scala-modules/pmd-scala-common/src/main/java/net/sourceforge/pmd/cpd/ScalaLanguage.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import net.sourceforge.pmd.lang.scala.ScalaLanguageModule;
/**
* Language implementation for Scala.
*/
public class ScalaLanguage extends AbstractLanguage {
/**
* Creates a new Scala L... | 510 | 23.333333 | 126 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/ReportTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd;
import static net.sourceforge.pmd.lang.ast.test.TestUtilsKt.assertSize;
import static net.sourceforge.pmd.lang.ast.test.TestUtilsKt.assertSuppressed;
import org.junit.jupiter.api.Test;
import net.sou... | 1,119 | 31.941176 | 92 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/ant/PMDTaskTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import org.junit.jupiter.api.Test;
class PMDTaskTest extends AbstractAntTestHelper {
PMDTaskTest() {
super.antTestScriptFilename = "pmdtasktest.xml";
}
@Test
void testEcm... | 650 | 27.304348 | 119 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/RuleSetFactoryTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript;
import net.sourceforge.pmd.AbstractRuleSetFactoryTest;
/**
* Test javascript's rulesets
*/
class RuleSetFactoryTest extends AbstractRuleSetFactoryTest {
// no additional tests ye... | 324 | 20.666667 | 79 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/LanguageVersionTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript;
import java.util.Arrays;
import java.util.Collection;
import net.sourceforge.pmd.AbstractLanguageVersionTest;
class LanguageVersionTest extends AbstractLanguageVersionTest {
stat... | 591 | 28.6 | 107 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/DummyJsRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.ecmascript.rule.AbstractEcmascriptRule;
/**
* @author Clément Fournier... | 649 | 21.413793 | 79 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/JsTreeDumpTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.ast.test.BaseTreeDumpTest;
import net.sourceforge.pmd... | 1,121 | 21.44 | 93 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/EcmascriptParserTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull... | 7,849 | 37.669951 | 143 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/JsParsingHelper.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.ecmascript.EcmascriptLanguageModule;
public final class JsParsingHelper extends BasePars... | 698 | 29.391304 | 91 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/EcmascriptParserTestBase.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
public abstract class EcmascriptParserTestBase {
protected final JsParsingHelper js = JsParsingHelper.DEFAULT.withResourceContext(getClass());
}
| 290 | 23.25 | 97 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/ASTFunctionNodeTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
class ASTFunctionNodeTest... | 1,088 | 32 | 82 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/ASTVariableDeclarationTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
class ASTVariableDeclara... | 762 | 27.259259 | 86 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/ASTTryStatementTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull... | 2,776 | 36.026667 | 101 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/TrailingCommaTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Locale;
import org.junit.jupiter.api.Test;
class TrailingCommaTest extends EcmascriptParserTestBase {
... | 1,144 | 23.891304 | 84 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/ASTForInLoopTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.ast;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
class ASTForInLoopTest ex... | 1,052 | 28.25 | 130 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/rule/errorprone/EqualComparisonTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.rule.errorprone;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class EqualComparisonTest extends PmdRuleTst {
// no additional unit tests
}
| 286 | 22.916667 | 79 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/rule/errorprone/AvoidTrailingCommaTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.rule.errorprone;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class AvoidTrailingCommaTest extends PmdRuleTst {
// no additional unit tests
}
| 289 | 23.166667 | 79 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/rule/errorprone/InnaccurateNumericLiteralTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.rule.errorprone;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class InnaccurateNumericLiteralTest extends PmdRuleTst {
// no additional unit tests
}
| 296 | 23.75 | 79 | java |
pmd | pmd-master/pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/rule/bestpractices/ConsistentReturnTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.ecmascript.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class ConsistentReturnTest extends PmdRuleTst {
// no additional unit tests
}
| 290 | 23.25 | 79 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.