-- Compile .mxml to .swf --> <macrodef name="makemxml2swf"> <attribute name="mxmlfilepath"/> -o @{mxmlfilepath}.swf @{mxmlfilepath}.mxml" /> </java> </sequential> </macrodef> <! -- Run .swf By Internet Explorer --> <macrodef name="runswfbyie"> <attribute name="mxmlfilepath spawn="true"> <arg value="${webserver}/@{mxmlfilepath}.swf"/> </exec> </sequential> </macrodef > <macrodef name="runswfbyflash"> <attribute name="mxmlfilepath"/> <sequential> <exec
target name="-do-junit" depends="test-init"> <echo message="Doing testing for jacoco"/> <macrodef </fail> </sequential> </macrodef> <junit-impl test.type="${run.test.type}
MacroCall, MacroRules, MacroDef, Variant, Field: 表示宏相关的项目,例如宏调用、宏定义、宏规则等。 Namespace枚举表示了四个不同的命名空间,包括了Type、Value、MacroRules和MacroDef。 MacroDef命名空间用于解析宏定义。 通过使用这些命名空间,可以实现对不同类型的标识符在不同命名空间中的解析和访问。
<'hir>), Type(&'hir Type<'hir>), Bind(TypeBinding<'hir>), Local(&'hir Local<'hir>), MacroDef (&'hir MacroDef<'hir>), Ctor(&'hir Ctor), Lifetime(&'hir Lifetime), LifetimeDef(&'hir LifetimeDef
/include/MacroDef.h" #define CertMaxNumber 10 typedef struct { int length[CertMaxNumber]; char CertGroundId
MacroDef: 表示宏定义。 MetaItemLit: 表示元数据项的字面值。 StrLit: 表示字符串字面值。 MutTy: 表示带有可变性修饰的类型。
Def::MacroDef(_):宏定义。 Def::PrimTy(_):基本类型定义。 Def::SelfTy(_):表示 Self 类型定义。 Def::Struct(_):结构体定义。