yzwalkman

——用数绘画

导航

2013年1月4日 #

Ogre源代码浅析——脚本及其解析(三)

摘要: 在完成了对脚本源文件的“词法分析”后,Ogre将进入到parse也就是“语义分析”阶段。这两个阶段的作用,从各自定义的数据结构中就可以一窥端倪,看下相应的结点定义: 1 struct ScriptToken 2 { 3 /// This is the lexeme for this token 4 String lexeme, file; 5 /// This is the id associated with the lexeme, which comes from a lexeme-token id mapping 6 ... 阅读全文

posted @ 2013-01-04 10:49 yzwalkman 阅读(2225) 评论(1) 推荐(0) 编辑