mause / asdox Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/asdox
Automatically exported from code.google.com/p/asdox
Hi, sorry I cannot post good steps to reproduce at the
moment.
I am having problems with the parsing of files and am
new to python so am unsure what the issue is. I run
your examples fine and everything is parsed as
expected. If I open one of the files with adobe cs3 and
save it the file can no longer be parsed. I get an obsure
python error.
I am using win xp
I will post better steps tomorrow but thought a heads up
may be nice.
Thanks for your project! It rocks!
Original issue reported on code.google.com by [email protected]
on 2 Sep 2008 at 11:20
What steps will reproduce the problem?
1. copy Filter.as paste as Filter2.as, change class and constructor name in
Filter2.as to Filter2.
2. add import com.foo2 to Filer.as
3. add import com.foo3 to Filter2.as
4. parse the demo code
5. list the imports for the package
6. observe that the listing does not contain com.foo2 and com.foo3
I am using version 1.0.0
Original issue reported on code.google.com by [email protected]
on 2 Sep 2008 at 8:10
I am trying to parse the attached files (they are part of a bigger project :
http://away3d.com/ ).
Although they seem correct, asDox is raising exceptions and thus not parsing
them.
For example, parsing file arcane.as
i receive:
Traceback (most recent call last):
File "asparser.py", line 21, in <module>
builder.addSource(srcFolder)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/asdox/asBuilder.py", line 43, in addSource
self.parseSource( open(source,"r").read() )
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/asdox/asBuilder.py", line 57, in parseSource
asGrammar.PROGRAM.parseString(src.decode("ascii","ignore"))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/pyparsing.py", line 1076, in parseString
raise exc
pyparsing.ParseException: Expected "class" (at char 33), (line:3, col:12)
I am using the svn version of asDox (revision 195), in MacOSX Leopard. I had
the same issues
using it on Debian Lenny, GNU/Linux
Thank you,
Alberto
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 10:05
Attachments:
What steps will reproduce the problem?
1. parse a class with a constructor that has no access modifier
Please provide any additional information below.
I think the grammar may need an optional in:
METHOD_DEFINITION = (METHOD_MODIFIER + METHOD_SIGNATURE +
METHOD_BODY).setParseAction(parseASMethod)
Original issue reported on code.google.com by [email protected]
on 4 Sep 2008 at 11:37
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.