Class PhiSyntax

  • All Implemented Interfaces:
    Syntax

    public final class PhiSyntax
    extends Object
    implements Syntax
    Syntax parser, from Phi-calculus to XMIR, using ANTLR4.
    Since:
    0.34.0
    • Constructor Detail

      • PhiSyntax

        public PhiSyntax​(String nme,
                         org.cactoos.Text inpt)
        Ctor.
        Parameters:
        nme - Name of the program
        inpt - Input
    • Method Detail

      • parsed

        public com.jcabi.xml.XML parsed()
                                 throws IOException
        Description copied from interface: Syntax
        Parse it to XML.
        Specified by:
        parsed in interface Syntax
        Returns:
        Parsed XML
        Throws:
        IOException - If fails