예제 #1
0
 public Statement(Parser yyp, JumpStatement js)
     : base(((LSLSyntax
         )yyp))
 {
     kids.Add(js);
 }
예제 #2
0
 /// <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);
 }