Package org.python.pydev.parser.jython

Examples of org.python.pydev.parser.jython.ISpecialStr


                    for (SimpleNode n : classNode.bases) {
                        n.accept(findLastLineVisitor);
                    }
                }
                SimpleNode lastNode = findLastLineVisitor.getLastNode();
                ISpecialStr lastSpecialStr = findLastLineVisitor.getLastSpecialStr();
                if (lastSpecialStr != null
                        && (lastSpecialStr.toString().equals(":") || lastSpecialStr.toString().equals(")"))) {
                    // it was an from xxx import (euheon, utehon)
                    return lastSpecialStr.getBeginLine();
                } else {
                    return lastNode.beginLine;
                }
            } catch (Exception e) {
                Log.log(e);
View Full Code Here

TOP

Related Classes of org.python.pydev.parser.jython.ISpecialStr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.