Property | Type | Description |
---|
Method | Description | |
---|---|---|
Accept ( Type sourceType ) : bool |
Does code writer support source type.
|
|
BeginVisitType ( Type sourceType ) : void |
Write class beginning.
|
|
EndVisitType ( Type sourceType ) : void |
Write class closing brackets.
|
|
GetGeneratedString ( ) : string |
Return a generated code as a string.
|
|
VisitConstField ( CppConstField cppConstField ) : void |
Write a struct const field definition.
|
|
VisitField ( CppField cppField ) : void |
Write a struct field definition.
|
|
WriteBeginFile ( ) : void |
Write beginning of the file.
|
|
WriteCloseTypeNamespace ( string @namespace ) : void |
Write namespace closing after type definition.
|
|
WriteComments ( CodeComment codeComment ) : void |
Write code comments.
|
|
WriteEndFile ( ) : void |
Write end of the file.
|
|
WriteOpenTypeNamespace ( string @namespace ) : void |
Write namespace opening before type definition.
|
Method | Description | |
---|---|---|
WriteBlock ( ) : void |
Writes an indented block of lines. Expected to be used with block string literals like so: As such the first empty line is trimmed. |
|
WriteLine ( ) : void |
Writes a blank line.
|
|
WriteLine ( string value ) : void |
Writes an indented line with the given string.
|
public abstract Accept ( Type sourceType ) : bool | ||
sourceType | Type | |
return | bool |
public abstract BeginVisitType ( Type sourceType ) : void | ||
sourceType | Type | |
return | void |
public abstract EndVisitType ( Type sourceType ) : void | ||
sourceType | Type | |
return | void |
public abstract VisitConstField ( CppConstField cppConstField ) : void | ||
cppConstField | CppConstField | |
return | void |
public abstract VisitField ( CppField cppField ) : void | ||
cppField | CppField | |
return | void |
public abstract WriteCloseTypeNamespace ( string @namespace ) : void | ||
@namespace | string | |
return | void |
public abstract WriteComments ( CodeComment codeComment ) : void | ||
codeComment | CodeComment | |
return | void |
public abstract WriteOpenTypeNamespace ( string @namespace ) : void | ||
@namespace | string | |
return | void |