public class ParserWrapper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_INPUT_NAME |
Constructor and Description |
---|
ParserWrapper(IParser parser) |
Modifier and Type | Method and Description |
---|---|
ASTNList |
parse(File file) |
ASTNList |
parse(File file,
String inputName)
Parse input file with given name as name of input.
|
ASTNList |
parse(InputStream is) |
ASTNList |
parse(InputStream is,
String inputName) |
ASTNList |
parse(String txt) |
ASTNList |
parse(String txt,
String inputName) |
public static String DEFAULT_INPUT_NAME
public ParserWrapper(IParser parser)
public ASTNList parse(String txt) throws ParserException
ParserException
public ASTNList parse(String txt, String inputName) throws ParserException
ParserException
public ASTNList parse(InputStream is)
public ASTNList parse(File file, String inputName) throws ParserException
ParserException
public ASTNList parse(File file) throws ParserException
ParserException
public ASTNList parse(InputStream is, String inputName)
Copyright © 2022. All rights reserved.