Class NodeCodeGenerator<T>
Inheritance
NodeCodeGenerator<T>
Syntax
public abstract class NodeCodeGenerator<T> : INodeCodeGenerator where T : IUnit
Type Parameters
Properties
UnitType
Declaration
public Type UnitType { get; }
Property Value
Methods
Declaration
protected static string FormatFileName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
GenerateCode(T, out String, out String)
Declaration
protected abstract bool GenerateCode(T unit, out string fileName, out string code)
Parameters
Returns
GenerateCode(IUnit, out String, out String)
Declaration
public bool GenerateCode(IUnit unit, out string fileName, out string code)
Parameters
Returns
ShouldGenerateCode(T, TranslationOptions)
Declaration
protected abstract bool ShouldGenerateCode(T unit, TranslationOptions options)
Parameters
Returns
ShouldGenerateCode(IUnit, TranslationOptions)
Declaration
public bool ShouldGenerateCode(IUnit unit, TranslationOptions options)
Parameters
Returns
Extension Methods