Pop() public method

public Pop ( ) : string
return string
コード例 #1
0
ファイル: CCodeGenerator.cs プロジェクト: cyrsis/C-SandBox
 public override void PossibleElse()
 {
     Output.WriteLine("  goto {0};", _endIfLabels.Push());
     Output.WriteLine("{0}:", _elseLabels.Pop());
 }
コード例 #2
0
ファイル: CCodeGenerator.cs プロジェクト: cyrsis/C-SandBox
 public override void EndIf()
 {
     Output.WriteLine("{0}:", _endIfLabels.Pop());
 }
コード例 #3
0
ファイル: CCodeGenerator.cs プロジェクト: cyrsis/C-SandBox
 public override void EndWhile()
 {
     Output.WriteLine("  goto {0};", _beginWhileLabels.Pop());
     Output.WriteLine("{0}:", _endWhileLabels.Pop());
 }