public class ASTParser extends Object
| Constructor and Description |
|---|
ASTParser() |
| Modifier and Type | Method and Description |
|---|---|
static ExpressionMod |
cloneExpressionMod(ExpressionMod ast) |
static Interactive |
cloneInteractive(Interactive ast) |
static Module |
cloneModule(Module ast) |
static ExpressionMod |
parseExpressionModWithCode(String python3Code) |
static ExpressionMod |
parseExpressionModWithFile(String pathToPython3File) |
static Interactive |
parseInteractiveWithCode(String python3Code) |
static Interactive |
parseInteractiveWithFile(String pathToPython3File) |
static Module |
parseModuleWithCode(String python3Code) |
static Module |
parseModuleWithFile(String pathToPython3File) |
public static ExpressionMod parseExpressionModWithCode(String python3Code)
public static Interactive parseInteractiveWithCode(String python3Code)
public static Module parseModuleWithFile(String pathToPython3File) throws Exception
Exceptionpublic static ExpressionMod parseExpressionModWithFile(String pathToPython3File) throws Exception
Exceptionpublic static Interactive parseInteractiveWithFile(String pathToPython3File) throws Exception
Exceptionpublic static ExpressionMod cloneExpressionMod(ExpressionMod ast)
public static Interactive cloneInteractive(Interactive ast)
Copyright © 2019–2021. All rights reserved.