Class CompilerService

    • Constructor Summary

      Constructors 
      Constructor Description
      CompilerService​(apex.jorje.semantic.compiler.sfdc.SymbolProvider symbolProvider, apex.jorje.semantic.compiler.sfdc.AccessEvaluator accessEvaluator, apex.jorje.semantic.compiler.sfdc.QueryValidator queryValidator)
      Deprecated.
      Configure a compiler with the following configurations:
    • Constructor Detail

      • CompilerService

        public CompilerService​(apex.jorje.semantic.compiler.sfdc.SymbolProvider symbolProvider,
                               apex.jorje.semantic.compiler.sfdc.AccessEvaluator accessEvaluator,
                               apex.jorje.semantic.compiler.sfdc.QueryValidator queryValidator)
        Deprecated.
        Configure a compiler with the following configurations:
        Parameters:
        symbolProvider - A way to retrieve symbols, where symbols are names of types.
        accessEvaluator - A way to check for accesses to certain fields in types.
        queryValidator - A way to validate your queries.
    • Method Detail

      • visitAstFromString

        public apex.jorje.semantic.compiler.ApexCompiler visitAstFromString​(String source,
                                                                            apex.jorje.semantic.ast.visitor.AstVisitor<apex.jorje.semantic.ast.visitor.AdditionalPassScope> visitor)
        Deprecated.
        Throws:
        apex.jorje.services.exception.ParseException - If the code is unparsable
      • visitAstsFromStrings

        public apex.jorje.semantic.compiler.ApexCompiler visitAstsFromStrings​(List<String> sources,
                                                                              apex.jorje.semantic.ast.visitor.AstVisitor<apex.jorje.semantic.ast.visitor.AdditionalPassScope> visitor)
        Deprecated.
        Throws:
        apex.jorje.services.exception.ParseException - If the code is unparsable
      • visitAstsFromStrings

        public apex.jorje.semantic.compiler.ApexCompiler visitAstsFromStrings​(List<String> sources,
                                                                              apex.jorje.semantic.ast.visitor.AstVisitor<apex.jorje.semantic.ast.visitor.AdditionalPassScope> visitor,
                                                                              apex.jorje.semantic.compiler.CompilerStage compilerStage)
        Deprecated.
        Throws:
        apex.jorje.services.exception.ParseException - If the code is unparsable