Package org.eolang.parser
Class EoSyntax
- java.lang.Object
-
- org.eolang.parser.EoSyntax
-
-
Constructor Detail
-
EoSyntax
public EoSyntax(String nme, org.cactoos.Input ipt)
Ctor.- Parameters:
nme
- The name of itipt
- Input text
-
-
Method Detail
-
parsed
public com.jcabi.xml.XML parsed() throws IOException
Compile it to XML and save.No exception will be thrown if the syntax is invalid. In any case, XMIR will be generated and saved. Read it in order to find the errors, at /program/errors XPath.
- Specified by:
parsed
in interfaceSyntax
- Returns:
- Parsed XML
- Throws:
IOException
- If fails
-
-