Skip to content

yallie/ApexParser

 
 

Repository files navigation

A C# to APEX Converter AND a APEX to C# Converter

appveyor tests codecov NuGet

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

About

Parser to parse Salesforce Apex code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 70.5%
  • Apex 29.4%
  • Other 0.1%