Awesome
A C# to APEX Converter AND a APEX to C# Converter
Apex ←→ C# - Two Way Transpiler.
ApexSharp.ApexParser
var ast = ApexSharpParser.GetApexAst(string apexCode) var apexCode = ApexSharpParser.GetApex(ast)
ApexSharp.ApexToCSharp
ApexToCSharp.convertToCSharp(apexparser ast)
CSharpToApex
SyntaxTree tree = CSharpSyntaxTree.ParseText(cSharpFile); var root = (CompilationUnitSyntax)tree.GetRoot(); var ast CSharpToApex.ConvertToApexAst(root)
TApexSharp.CSharpToApex
Var apexCode = ApexSharpParser.GetApex(ast)
This is very early stage Beta Software use it at your own risk :-).
Jay EMail: Jay@JayOnSoftware.com LinkedIn