Inheritance: Tools.SYMBOL
 /// <summary>
 ///     Generates the code for a JumpStatement node.
 /// </summary>
 /// <param name="js">The JumpStatement node.</param>
 /// <returns>String containing C# code for JumpStatement js.</returns>
 private string GenerateJumpStatement(JumpStatement js)
 {
     return Generate(String.Format("goto {0}", CheckName(js.TargetName)), js);
 }
Exemple #2
0
 public Statement(Parser yyp, JumpStatement js) : base((yyp))
 {
     kids.Add(js);
 }