dstep.translator.MacroDefinition

Members

Functions

asParamType
string asParamType(ExprType type)
Undocumented in source. Be warned that the author may not have intended to support it.
asPlainType
string asPlainType(ExprType type)
Undocumented in source. Be warned that the author may not have intended to support it.
asReturnType
string asReturnType(ExprType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpAST
void dumpAST(Expression expression, Appender!string result, size_t indent)
Undocumented in source. Be warned that the author may not have intended to support it.
guessParamTypes
void guessParamTypes(Expression expression, ExprType[string] params, ExprType type)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveMacroDependency
bool resolveMacroDependency(Context context, string spelling)
Undocumented in source. Be warned that the author may not have intended to support it.
spelling
string spelling(CallExpr expression)
Undocumented in source. Be warned that the author may not have intended to support it.
spelling
string spelling(Expression expression)
Undocumented in source. Be warned that the author may not have intended to support it.
strictCommonType
ExprType strictCommonType(ExprType a, ExprType b)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
string translate(Literal literal, ExpressionContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
string translate(Identifier identifier, ExpressionContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
string translate(CallExpr expression, ExpressionContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
string translate(Expression expression, ExpressionContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
translateFunctAlias
bool translateFunctAlias(Output output, Context context, MacroDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.
translateMacroDefinition
void translateMacroDefinition(Output output, Context context, TypedMacroDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.
translateMacroDefinition
string translateMacroDefinition(Context context, TypedMacroDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.
translateMacroDefinitionAliasOrConst
void translateMacroDefinitionAliasOrConst(Output output, Context context, TypedMacroDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ExprType
struct ExprType
Undocumented in source.
ExpressionContext
struct ExpressionContext
Undocumented in source.

Variables

UnspecifiedExprType
auto UnspecifiedExprType;
Undocumented in source.

Meta

Authors

Wojciech Szęszoł

Version

Initial created: Jun 03, 2016