C# Class MiniPL.CodeGenerators.CppGeneratorTemplateBase

Afficher le fichier Open project: davidnemeti/Sarcasm

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ClearIndent ( ) : void

Remove any indentation

Error ( string message ) : void

Raise an error

PopIndent ( ) : string

Remove the last indent that was added with PushIndent

PushIndent ( string indent ) : void

Increase the indent

Warning ( string message ) : void

Raise a warning

Write ( string textToAppend ) : void

Write text directly into the generated output

WriteLine ( string textToAppend ) : void

Write text directly into the generated output

Method Details

ClearIndent() public méthode

Remove any indentation
public ClearIndent ( ) : void
Résultat void

Error() public méthode

Raise an error
public Error ( string message ) : void
message string
Résultat void

PopIndent() public méthode

Remove the last indent that was added with PushIndent
public PopIndent ( ) : string
Résultat string

PushIndent() public méthode

Increase the indent
public PushIndent ( string indent ) : void
indent string
Résultat void

Warning() public méthode

Raise a warning
public Warning ( string message ) : void
message string
Résultat void

Write() public méthode

Write text directly into the generated output
public Write ( string textToAppend ) : void
textToAppend string
Résultat void

WriteLine() public méthode

Write text directly into the generated output
public WriteLine ( string textToAppend ) : void
textToAppend string
Résultat void