org.python.compiler
Class Future
- java.lang.Object
-
- org.python.compiler.Future
-
public class Future extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Future()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanareDivisionOn()static voidcheckFromFuture(ImportFrom node)booleanisAbsoluteImportOn()voidpreprocessFutures(mod node, CompilerFlags cflags)booleanwithStatementSupported()
-
-
-
Method Detail
-
preprocessFutures
public void preprocessFutures(mod node, CompilerFlags cflags) throws java.lang.Exception
- Throws:
java.lang.Exception
-
checkFromFuture
public static void checkFromFuture(ImportFrom node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
areDivisionOn
public boolean areDivisionOn()
-
withStatementSupported
public boolean withStatementSupported()
-
isAbsoluteImportOn
public boolean isAbsoluteImportOn()
-
-
DMelt 3.0 © DataMelt by jWork.ORG