Comments (7)
I'm sure it's from this change: 2935767
I have to get the get/set properties under control. Is there something special about this method? Could you post its XML?
from dox.
Why are we doing so much work in the template? I'd rather do it when processing and pass the needed info to the template.
from dox.
@Simn Nothing special at all, in fact, it seems to happen for all methods.
<replaceColor public="1" set="method" line="1010">
<f a="Color:NewColor:?FetchPositions" v="::false">
<x path="Int"/>
<x path="Int"/>
<x path="Bool"/>
<c path="Array"><c path="flixel.util.FlxPoint"/></c>
</f>
<haxe_doc>* Replaces all pixels with specified Color with NewColor pixels
* @param Color Color to replace
* @param NewColor New color
* @param FetchPositions Whether we need to store positions of pixels which colors were replaced
* @return Array replaced pixels positions</haxe_doc>
</replaceColor>
I did generate the docs + the xml with haxe 3.1.3 though, does that matter?
from dox.
@dpeek: That's not so easy because we're working with the CType data, which we can't extend in a trivial way. I have a Haxe issue open to address this problem: HaxeFoundation/haxe#3471
Of course we could instead have some API method for this. In fact, I'm not sure what/if I was thinking when I made that template. :)
@Gama11: Can you try updating hxtemplo? There was some weird issue related to order of switch cases.
from dox.
@Simn That fixed it - mostly. Still seems to fail for inlined functions:
Previously:
Now:
<resetFrameBitmapDatas public="1" get="inline" set="null" line="1265">
<f a=""><x path="Void"/></f>
<haxe_doc>* Helper function for reseting precalculated FlxFrame bitmapdatas.
* Useful when _pixels bitmapdata changes (e.g. after stamp(), FlxSpriteUtil.drawLine() and other similar method calls).</haxe_doc>
</resetFrameBitmapDatas>
from dox.
I'd expect the same get/set combination from an inline variable, which would make this indistinguishable. I guess we can rely on the type in this case because there's no such thing as an inline function variable, but it's still a bit bad...
from dox.
I've "fixed" it.
from dox.
Related Issues (20)
- Add section for "Inherited Events" HOT 4
- Interfaces documentation HOT 4
- Overloads only show one documention
- Need skimmable index per class HOT 4
- Constraints not listed in documentation HOT 1
- Packages names sometimes required HOT 4
- [docs] link in sys.FileSystem documentation points to wrong page HOT 1
- [Feature Request] Search in content, not only package/class names
- Missing closing brace in topbar.mtt
- GitHub warns about "high severity" security concerns about JQuery 1.9.1 HOT 4
- Special characters not escaped correctly HOT 1
- Link generation: sys.io.* links to cs.system.* HOT 1
- Are module-level fields supported?
- sys.io.Process shows to cs.system.diagnostics.Process HOT 2
- Example in readme does not work HOT 1
- Replace neko with --interp ? HOT 4
- Ignore lib on xml generation? HOT 1
- [java] Expected attribute name HOT 1
- Abstract types: instance members are documented as static members. HOT 1
- Support documenting metadata HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dox.