File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
import static com .oracle .graal .python .runtime .exception .PythonErrorType .SyntaxError ;
29
29
30
- import java .util .HashMap ;
31
- import java .util .Map ;
32
30
import java .util .concurrent .ConcurrentHashMap ;
33
31
import java .util .regex .Pattern ;
34
32
53
51
import com .oracle .truffle .api .source .SourceSection ;
54
52
55
53
public final class PythonParserImpl implements PythonParser {
56
- private static final Map <String , ParserRuleContext > cachedParseTrees = new ConcurrentHashMap <>();
54
+ private static final ConcurrentHashMap <String , ParserRuleContext > cachedParseTrees = new ConcurrentHashMap <>();
57
55
58
56
private static Python3Parser getPython3Parser (CodePointCharStream fromString ) {
59
57
Python3Parser parser = new Builder .Parser (fromString ).build ();
You can’t perform that action at this time.
0 commit comments