org.objectweb.fractal.adl
Interface Parser
- All Known Implementing Classes:
- XMLParser
public interface Parser
An Abstract Syntax Tree (AST) parser.
|
Method Summary |
Node |
parse(java.io.InputStream is,
java.lang.String source)
Parses the given input stream and constructs the corresponding AST. |
parse
Node parse(java.io.InputStream is,
java.lang.String source)
throws ParserException
- Parses the given input stream and constructs the corresponding AST.
- Parameters:
is - the input stream that must be parsed.source - the source of this input stream (such as a file name).
- Returns:
- the AST corresponding to the given input stream content.
- Throws:
ParserException - if an error occurs during parsing.
Copyright © 2001-2010 ObjectWeb Consortium. All Rights Reserved.