getAttr() and getMacro() calls in parser
Posted by Anonymous on 2008-10-19 00:01
The flash code makes several calls to getAttr() and getMacro() methods of parser. However, neither his nor the red team's version of parser has these methods. I thought maybe they were part of cup, but that doesn't seem to be the case either. Does anybody (Daniel) know where these might be coming from?
If I can get this resolved, I'm quite optimistic about getting this integrated for tomorrow.
e - this is Tai didn't notice i wasn't logged in
If I can get this resolved, I'm quite optimistic about getting this integrated for tomorrow.
e - this is Tai didn't notice i wasn't logged in
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Ramani map is powered by Assembla.
1 Comments
By danielmundra on 2008-10-19 02:53
/* return attributes for a specific style class and id /
public List<StyleAttribute> getAttr(String className, String id) {
if (classes.containsKey(className)) {
return classes.get(className).getAttr(id);
}
else {
return null;
}
}
/ return interpreted macro for a specific style class and id */
public List<StyleAttribute> getMacro(String className, String id) {
if (macros.containsKey(className)) {
return macros.get(className).getMacro(id);
}
else {
return null;
}
}
I do not know whether that helps, but maybe you can add a main function to StyleSheetReader.java and see if you can parse an .ss file and create an .xml file independent of the rest of the flash program.
Does that make sense?