Package net.sf.saxon.transpile
Class CSharp
- java.lang.Object
-
- net.sf.saxon.transpile.CSharp
-
public class CSharp extends java.lang.Object
This class contains dummy methods which, if called, have no effect; but calls on these methods are detected by the Java-to-C# converter and affect the C# code that is generated.
-
-
Constructor Summary
Constructors Constructor Description CSharp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
emitCode(java.lang.String code)
CSharp.emitCode("goto label") causes the converter to include the code "goto label" in the generated C# code.
-
-
-
Method Detail
-
emitCode
public static void emitCode(java.lang.String code)
CSharp.emitCode("goto label") causes the converter to include the code "goto label" in the generated C# code. The argument must be supplied as a string literal. At run time, the method has no effect.- Parameters:
code
- the C# code to be emitted.
-
-