bblfsh / python-pydetector Goto Github PK
View Code? Open in Web Editor NEWGuess the version of a Python module file
License: Apache License 2.0
Guess the version of a Python module file
License: Apache License 2.0
Currently a trailing comment pseudo-node will be added as child of all elements in that same line. While this is technically correct (its a trailing comment of all elements in that line) its also wasteful. Make a cache of trailing comments storing the line of the comment to avoid duplicates.
This have to be disabled by default because it could be dangeous. It would be nice to also find a way to avoid the interpreters running main (maybe with a third proxy module importing the one being tested).
From the meeting about this matter on the Language Analysis planning:
For nodes without a token (e. g. grouping nodes like "arguments" or "aliases"):
StartPosition
in the native AST it won't have it either in the UAST.StartPosition
in the UAST and no EndPosition
(since we can't extract it from the tokenizer).Nodes with a token:
EndPosition
will be the one of the token. E. g. functions' EndPosition
will be the position of the last character of the name, not the end position of the last child, as stated in the documentation.a.b.c.d
case).This
This
In the meeting planning we decided to split the functionality in the current pydetector.astexport.py
module between the retrieval of the native AST data structure unmodified (but for the right Python version) in pydetector
and the visitor + noop extractor + position updater in python-driver
, reusing the data returned from pydetector
to avoid doing a double parsing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.