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 |
|---|---|---|---|---|---|---|
depends | depends-master/src/main/java/depends/entity/CandidateTypes.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 8,606 | 26.586538 | 122 | java |
depends | depends-master/src/main/java/depends/entity/MultiDeclareEntities.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,162 | 28.287037 | 83 | java |
depends | depends-master/src/main/java/depends/entity/ContainerEntity.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 13,993 | 28.901709 | 136 | java |
depends | depends-master/src/main/java/depends/entity/FunctionEntityProto.java | package depends.entity;
public class FunctionEntityProto extends FunctionEntity{
public FunctionEntityProto() {
super();
}
public FunctionEntityProto(GenericName simpleName, Entity parent, Integer id, GenericName returnType) {
super(simpleName,parent,id,returnType);
}
}
| 284 | 24.909091 | 107 | java |
depends | depends-master/src/main/java/depends/entity/Location.java | package depends.entity;
import java.io.Serializable;
public class Location implements Serializable {
Integer line = null;
public Integer getLine(){
return line;
}
public void setLine(int line){
this.line = line;
}
}
| 254 | 17.214286 | 47 | java |
depends | depends-master/src/main/java/depends/entity/FileEntity.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 5,397 | 28.497268 | 96 | java |
depends | depends-master/src/main/java/depends/entity/AnonymousBlock.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,315 | 37.705882 | 78 | java |
depends | depends-master/src/main/java/depends/entity/FunctionEntityImpl.java | package depends.entity;
import depends.relations.IBindingResolver;
public class FunctionEntityImpl extends FunctionEntity {
Entity implementedFunction = null;
public FunctionEntityImpl() {
super();
}
public FunctionEntityImpl(GenericName simpleName, Entity parent, Integer id, GenericName returnType) {
supe... | 708 | 28.541667 | 136 | java |
depends | depends-master/src/main/java/depends/entity/GenericName.java | package depends.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class GenericName implements Serializable{
private static final long serialVersionUID = 1L;
private char[] name;
List<GenericName> arguments;
public GenericName(String name) {
... | 3,226 | 26.347458 | 79 | java |
depends | depends-master/src/main/java/depends/entity/repo/IdGenerator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,245 | 34.6 | 78 | java |
depends | depends-master/src/main/java/depends/entity/repo/BuiltInType.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,266 | 28.432432 | 78 | java |
depends | depends-master/src/main/java/depends/entity/repo/EntityRepo.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,783 | 29.237288 | 78 | java |
depends | depends-master/src/main/java/depends/entity/repo/SimpleIdGenerator.java | package depends.entity.repo;
public class SimpleIdGenerator implements IdGenerator {
private int nextAvaliableIndex;
public SimpleIdGenerator() {
nextAvaliableIndex = 0;
}
/**
* Generate a global unique ID for entity
* @return the unique id
*/
@Override
public Integer generateId() {
return nextAvaliab... | 337 | 16.789474 | 55 | java |
depends | depends-master/src/main/java/depends/entity/repo/InMemoryEntityRepo.java | package depends.entity.repo;
import depends.entity.*;
import multilang.depends.util.file.FileUtil;
import java.util.*;
import java.util.Map.Entry;
public class InMemoryEntityRepo extends SimpleIdGenerator implements EntityRepo {
public class EntityMapIterator implements Iterator<Entity>{
private Iterator<Entry... | 3,457 | 24.80597 | 100 | java |
depends | depends-master/src/main/java/depends/matrix/core/DependencyValue.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,923 | 29.0625 | 78 | java |
depends | depends-master/src/main/java/depends/matrix/core/DependencyDetail.java | package depends.matrix.core;
public class DependencyDetail {
private LocationInfo from;
private LocationInfo to;
public DependencyDetail(LocationInfo from, LocationInfo to) {
this.from = from;
this.to = to;
}
@Override
public String toString() {
return from + "->" + to;
}
public LocationInfo getSrc() ... | 392 | 14.72 | 62 | java |
depends | depends-master/src/main/java/depends/matrix/core/DependencyPair.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,352 | 30.797297 | 88 | java |
depends | depends-master/src/main/java/depends/matrix/core/LocationInfo.java | package depends.matrix.core;
import java.io.Serializable;
public class LocationInfo implements Serializable {
String object;
String file;
String type;
Integer lineNumber;
public LocationInfo(String object, String type, String file, Integer lineNumber){
if (lineNumber ==null) lineNumber = 0;
this.object = obj... | 715 | 17.842105 | 82 | java |
depends | depends-master/src/main/java/depends/matrix/core/DependencyMatrix.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,817 | 32.787611 | 114 | java |
depends | depends-master/src/main/java/depends/matrix/transform/MatrixLevelReducer.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,922 | 28.719697 | 84 | java |
depends | depends-master/src/main/java/depends/matrix/transform/OrderedMatrixGenerator.java | package depends.matrix.transform;
/*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to... | 2,669 | 36.605634 | 143 | java |
depends | depends-master/src/main/java/depends/deptypes/DependencyType.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,858 | 36.618421 | 78 | java |
depends | depends-master/src/main/java/depends/importtypes/FileImport.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,209 | 36.8125 | 78 | java |
depends | depends-master/src/main/java/depends/importtypes/PackageWildCardImport.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,231 | 37.5 | 78 | java |
depends | depends-master/src/main/java/depends/importtypes/ExactMatchImport.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,221 | 37.1875 | 78 | java |
depends | depends-master/src/main/java/depends/importtypes/Import.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,881 | 28.40625 | 78 | java |
depends | depends-master/src/main/java/depends/relations/FunctionMatcher.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,732 | 31.092593 | 78 | java |
depends | depends-master/src/main/java/depends/relations/Relation.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,014 | 29.074627 | 98 | java |
depends | depends-master/src/main/java/depends/relations/BindingResolver.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 9,481 | 30.818792 | 106 | java |
depends | depends-master/src/main/java/depends/relations/ImportLookupStrategy.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,893 | 33.047059 | 119 | java |
depends | depends-master/src/main/java/depends/relations/RelationCounter.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 9,934 | 37.657588 | 139 | java |
depends | depends-master/src/main/java/depends/relations/IBindingResolver.java | package depends.relations;
import depends.entity.*;
import depends.entity.repo.EntityRepo;
import depends.extractor.UnsolvedBindings;
import depends.importtypes.Import;
import java.util.Collection;
import java.util.List;
import java.util.Set;
public interface IBindingResolver {
/**
* Resolve all bindings
... | 2,311 | 32.507246 | 108 | java |
depends | depends-master/src/main/java/depends/generator/FunctionDependencyGenerator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,211 | 33.030769 | 78 | java |
depends | depends-master/src/main/java/depends/generator/StructureDependencyGenerator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,315 | 31.619718 | 98 | java |
depends | depends-master/src/main/java/depends/generator/DependencyGenerator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 7,049 | 39.056818 | 143 | java |
depends | depends-master/src/main/java/depends/generator/FileDependencyGenerator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,874 | 30.779661 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/LangProcessorRegistration.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,995 | 37.384615 | 81 | java |
depends | depends-master/src/main/java/depends/extractor/HandlerContext.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 11,090 | 32.306306 | 135 | java |
depends | depends-master/src/main/java/depends/extractor/ParserCreator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,176 | 35.78125 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/FileParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,221 | 31.676471 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/IncludedFileLocator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,223 | 34.301587 | 91 | java |
depends | depends-master/src/main/java/depends/extractor/AbstractLangProcessor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 7,076 | 27.421687 | 119 | java |
depends | depends-master/src/main/java/depends/extractor/UnsolvedBindings.java | package depends.extractor;
import depends.entity.Entity;
public class UnsolvedBindings {
private String rawName;
private Entity fromEntity;
public UnsolvedBindings(String rawName, Entity fromEntity) {
this.rawName = rawName;
this.fromEntity = fromEntity;
}
public String getRawName() {
return rawName;
}... | 1,370 | 20.421875 | 79 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/RubyHandlerContext.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 4,013 | 36.166667 | 116 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/RubyBuiltInType.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,153 | 46.866667 | 113 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/RubyImportLookupStrategy.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,364 | 36.916667 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/RubyProcessor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,800 | 28.797872 | 109 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/jruby/ExpressionUsage.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 6,012 | 33.959302 | 103 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/jruby/JRubyVisitor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 9,707 | 33.425532 | 138 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/jruby/JRubyFileParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,021 | 38.763158 | 120 | java |
depends | depends-master/src/main/java/depends/extractor/ruby/jruby/RubyParserHelper.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 5,298 | 30.921687 | 88 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/KotlinHandlerContext.java | package depends.extractor.kotlin;
import depends.entity.repo.EntityRepo;
import depends.extractor.java.JavaHandlerContext;
import depends.relations.IBindingResolver;
public class KotlinHandlerContext extends JavaHandlerContext {
public KotlinHandlerContext(EntityRepo entityRepo, IBindingResolver bindingResolver) {
... | 365 | 23.4 | 87 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/KotlinProcessor.java | package depends.extractor.kotlin;
import depends.entity.repo.BuiltInType;
import depends.extractor.AbstractLangProcessor;
import depends.extractor.FileParser;
import depends.extractor.java.JavaBuiltInType;
import depends.extractor.java.JavaImportLookupStrategy;
import depends.relations.ImportLookupStrategy;
import ja... | 1,614 | 21.746479 | 60 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/KotlinListener.java | package depends.extractor.kotlin;
import depends.entity.repo.EntityRepo;
import depends.extractor.kotlin.KotlinParser.ImportHeaderContext;
import depends.extractor.kotlin.KotlinParser.PackageHeaderContext;
import depends.importtypes.ExactMatchImport;
import depends.relations.IBindingResolver;
public class KotlinListe... | 1,092 | 27.763158 | 102 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/KotlinFileParser.java | package depends.extractor.kotlin;
import depends.entity.repo.EntityRepo;
import depends.extractor.FileParser;
import depends.relations.IBindingResolver;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.Lexer;
imp... | 1,145 | 32.705882 | 88 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/ContextHelper.java | package depends.extractor.kotlin;
import depends.extractor.kotlin.KotlinParser.IdentifierContext;
import depends.extractor.kotlin.KotlinParser.SimpleIdentifierContext;
public class ContextHelper {
public static String getName(IdentifierContext identifier) {
StringBuffer sb = new StringBuffer();
for (SimpleIdent... | 480 | 23.05 | 69 | java |
depends | depends-master/src/main/java/depends/extractor/kotlin/context/ExpressionUsage.java | package depends.extractor.kotlin.context;
import depends.entity.repo.EntityRepo;
import depends.extractor.kotlin.KotlinHandlerContext;
public class ExpressionUsage {
public ExpressionUsage(KotlinHandlerContext context, EntityRepo entityRepo) {
// TODO Auto-generated constructor stub
}
}
| 296 | 21.846154 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/empty/EmptyBuiltInType.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,208 | 38 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/empty/EmptyImportLookupStategy.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,125 | 30.264706 | 106 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomLocator.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,035 | 30.8125 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomListener.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 5,883 | 34.445783 | 117 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomFileParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,573 | 38 | 134 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomProcessor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,526 | 29.083333 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomHandlerContext.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,461 | 34.658537 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomParent.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,542 | 32.543478 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomCoords.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,324 | 30.418919 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomImportLookupStategy.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,869 | 32.392857 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/pom/PomArtifactEntity.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,608 | 32.883117 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/Scanner.java | package depends.extractor.cpp;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration;
import org.eclipse.cdt.core.dom.parser.cpp.GPPScannerExtensionConfiguration;
import org.eclipse.cdt.core.index.IIndexFileLocation;
import org.e... | 3,189 | 38.382716 | 144 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/MacroRepo.java | package depends.extractor.cpp;
import depends.extractor.cpp.cdt.GPPParserExtensionConfigurationExtension;
import multilang.depends.util.file.FileUtil;
import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroDefinition;
import org.eclipse.cdt.core.dom.ast.IMacroBinding;
import org.eclipse.cdt.core.parser.IScanner;
imp... | 1,888 | 32.732143 | 102 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/MacroFileRepo.java | package depends.extractor.cpp;
import depends.entity.repo.EntityRepo;
import multilang.depends.util.file.TemporaryFile;
import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroDefinition;
import org.eclipse.cdt.core.dom.ast.IMacroBinding;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
public clas... | 1,940 | 29.328125 | 106 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/CppProcessor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,178 | 28.990566 | 122 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/MacroEhcacheRepo.java | package depends.extractor.cpp;
import depends.entity.repo.EntityRepo;
import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Element;
import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroDefinition;
import org.eclipse.cdt.core.dom.ast.IMacroBinding;
import java.util.HashMap;
import... | 1,744 | 29.086207 | 106 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/CppBuiltInType.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,935 | 58.636364 | 120 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/CppFileParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,310 | 37.558824 | 78 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/MacroMemoryRepo.java | package depends.extractor.cpp;
import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroDefinition;
import org.eclipse.cdt.core.dom.ast.IMacroBinding;
import java.util.HashMap;
import java.util.Map;
public class MacroMemoryRepo extends MacroRepo{
private Map<String, Map<String, String>> fileMacroDefinition = new H... | 1,395 | 30.727273 | 126 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/CppImportLookupStrategy.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 4,492 | 32.529851 | 107 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/CppHandlerContext.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,966 | 39.094595 | 126 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/MacroExtractor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,223 | 46.411765 | 187 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/CommentManager.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,868 | 32.360465 | 80 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/ExpressionUsage.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 7,799 | 35.27907 | 140 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/CppVisitor.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 14,262 | 41.198225 | 186 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/ASTStringUtilExt.java | package depends.extractor.cpp.cdt;
import depends.entity.GenericName;
import depends.entity.TypeEntity;
import org.eclipse.cdt.core.dom.ast.*;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTNameSpecifier;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTQualifiedName;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTUsing... | 6,701 | 38.656805 | 116 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/PreprocessorHandler.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 4,292 | 32.80315 | 107 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/CDTParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 2,721 | 32.604938 | 85 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/GPPParserExtensionConfigurationExtension.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,516 | 30.604167 | 95 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/ANSICParserExtensionConfigurationExtension.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 1,511 | 31.170213 | 92 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/FileCache.java | package depends.extractor.cpp.cdt;
import java.util.HashMap;
import org.eclipse.cdt.core.index.IIndexFileLocation;
import org.eclipse.cdt.internal.core.parser.scanner.InternalFileContent;
public class FileCache {
private HashMap<String, InternalFileContent> cache;
private HashMap<IIndexFileLocation, InternalFileCo... | 954 | 26.285714 | 72 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/TemplateParameterASTVisitor.java | package depends.extractor.cpp.cdt;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.cdt.core.dom.ast.ASTVisitor;
import org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier;
import org.eclipse.cdt.core.dom.ast.IASTIdExpression;
import org.eclipse.cdt.core.dom.ast.IASTLiteralExpression;
import org.eclip... | 1,896 | 31.152542 | 93 | java |
depends | depends-master/src/main/java/depends/extractor/cpp/cdt/CdtCppFileParser.java | /*
MIT License
Copyright (c) 2018-2019 Gang ZHANG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 3,411 | 38.218391 | 145 | java |
depends | depends-master/src/main/java/depends/extractor/python/PythonBuiltInType.java | package depends.extractor.python;
import depends.entity.FunctionCall;
import depends.entity.FunctionEntity;
import depends.entity.GenericName;
import depends.entity.TypeEntity;
import depends.entity.repo.BuiltInType;
import depends.relations.FunctionMatcher;
import java.util.ArrayList;
import java.util.List;
public ... | 3,738 | 37.153061 | 119 | java |
depends | depends-master/src/main/java/depends/extractor/python/PythonImportLookupStrategy.java | package depends.extractor.python;
import depends.entity.Entity;
import depends.entity.FileEntity;
import depends.entity.repo.EntityRepo;
import depends.extractor.UnsolvedBindings;
import depends.importtypes.FileImport;
import depends.importtypes.Import;
import depends.relations.ImportLookupStrategy;
import org.apache.... | 2,909 | 28.693878 | 113 | java |
depends | depends-master/src/main/java/depends/extractor/python/NameAliasImport.java | package depends.extractor.python;
import depends.entity.Entity;
import depends.importtypes.Import;
public class NameAliasImport extends Import {
private String aliasedName;
private Entity entity;
public NameAliasImport(String importedName, Entity entity,String aliasedName) {
super(importedName);
this.aliased... | 473 | 17.96 | 80 | java |
depends | depends-master/src/main/java/depends/extractor/python/PythonHandlerContext.java | package depends.extractor.python;
import depends.entity.*;
import depends.entity.repo.EntityRepo;
import depends.extractor.HandlerContext;
import depends.relations.IBindingResolver;
public class PythonHandlerContext extends HandlerContext {
public PythonHandlerContext(EntityRepo entityRepo, IBindingResolver binding... | 1,418 | 25.277778 | 87 | java |
depends | depends-master/src/main/java/depends/extractor/python/BasePythonProcessor.java | package depends.extractor.python;
import depends.entity.repo.BuiltInType;
import depends.extractor.AbstractLangProcessor;
import depends.relations.ImportLookupStrategy;
import java.util.ArrayList;
import java.util.List;
import static depends.deptypes.DependencyType.*;
public abstract class BasePythonProcessor exten... | 1,479 | 23.262295 | 72 | java |
depends | depends-master/src/main/java/depends/extractor/python/union/PythonCodeListener.java | package depends.extractor.python.union;
import depends.entity.*;
import depends.entity.repo.EntityRepo;
import depends.extractor.python.NameAliasImport;
import depends.extractor.python.PythonBuiltInType;
import depends.extractor.python.PythonHandlerContext;
import depends.extractor.python.PythonParser.*;
import depend... | 14,225 | 32.472941 | 119 | java |
depends | depends-master/src/main/java/depends/extractor/python/union/ExpressionUsage.java | package depends.extractor.python.union;
import depends.entity.*;
import depends.entity.repo.IdGenerator;
import depends.extractor.HandlerContext;
import depends.extractor.python.PythonHandlerContext;
import depends.extractor.python.PythonParser.*;
import depends.extractor.python.PythonParserBaseListener;
import depend... | 10,890 | 29.940341 | 119 | java |
depends | depends-master/src/main/java/depends/extractor/python/union/PythonLexerBase.java | package depends.extractor.python.union;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CommonToken;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.Token;
import depends.extractor.python.PythonLexer;
import java.util.Stack;
public abstract class PythonLexerBase extends Lexer {
... | 5,486 | 28.342246 | 127 | java |
depends | depends-master/src/main/java/depends/extractor/python/union/PythonFileParser.java | package depends.extractor.python.union;
import depends.entity.repo.EntityRepo;
import depends.extractor.FileParser;
import depends.extractor.IncludedFileLocator;
import depends.extractor.python.PythonLexer;
import depends.extractor.python.PythonParser;
import depends.relations.IBindingResolver;
import multilang.depend... | 1,716 | 36.326087 | 133 | java |
depends | depends-master/src/main/java/depends/extractor/python/union/PythonProcessor.java | package depends.extractor.python.union;
import depends.extractor.FileParser;
import depends.extractor.python.BasePythonProcessor;
import depends.extractor.IncludedFileLocator;
public class PythonProcessor extends BasePythonProcessor {
@Override
public boolean isEagerExpressionResolve(){
return true;
}
@Overri... | 618 | 20.344828 | 89 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.