Package com.evolveum.axiom.lang.antlr
Class AxiomAntlrStatementSource
java.lang.Object
com.evolveum.axiom.lang.antlr.AxiomAntlrStatementSource
- Direct Known Subclasses:
AxiomModelStatementSource
-
Constructor Summary
ModifierConstructorDescriptionprotected
AxiomAntlrStatementSource
(String sourceName, AxiomParser.ItemContext statement) -
Method Summary
Modifier and TypeMethodDescriptionstatic AxiomParser.ItemContext
contextFrom
(String sourceName, org.antlr.v4.runtime.CharStream stream) static AxiomAntlrStatementSource
from
(String sourceName, InputStream stream) static AxiomAntlrStatementSource
protected final AxiomParser.ItemContext
root()
final void
stream
(AxiomItemStream.TargetWithContext target, AxiomDecoderContext<AxiomParser.PrefixedNameContext, AxiomParser.ArgumentContext> codecs, AxiomNameResolver documentLocal)
-
Constructor Details
-
AxiomAntlrStatementSource
-
-
Method Details
-
from
public static AxiomAntlrStatementSource from(String sourceName, InputStream stream) throws IOException, AxiomSyntaxException - Throws:
IOException
AxiomSyntaxException
-
contextFrom
public static AxiomParser.ItemContext contextFrom(String sourceName, org.antlr.v4.runtime.CharStream stream) -
from
public static AxiomAntlrStatementSource from(String sourceName, org.antlr.v4.runtime.CharStream stream) throws AxiomSyntaxException - Throws:
AxiomSyntaxException
-
sourceName
-
root
-
stream
public final void stream(AxiomItemStream.TargetWithContext target, AxiomDecoderContext<AxiomParser.PrefixedNameContext, AxiomParser.ArgumentContext> codecs, AxiomNameResolver documentLocal)
-