1854 <tr> |
1854 <tr> |
1855 <td><a href="#TextVisitor.__addNode">__addNode</a></td> |
1855 <td><a href="#TextVisitor.__addNode">__addNode</a></td> |
1856 <td>Private method to add a node to our list of nodes.</td> |
1856 <td>Private method to add a node to our list of nodes.</td> |
1857 </tr> |
1857 </tr> |
1858 <tr> |
1858 <tr> |
1859 <td><a href="#TextVisitor.__isBaseString">__isBaseString</a></td> |
|
1860 <td>Private method to determine, if a node is a base string node.</td> |
|
1861 </tr> |
|
1862 <tr> |
|
1863 <td><a href="#TextVisitor.__visitBody">__visitBody</a></td> |
1859 <td><a href="#TextVisitor.__visitBody">__visitBody</a></td> |
1864 <td>Private method to traverse the body of the node manually.</td> |
1860 <td>Private method to traverse the body of the node manually.</td> |
1865 </tr> |
1861 </tr> |
1866 <tr> |
1862 <tr> |
1867 <td><a href="#TextVisitor.__visitDefinition">__visitDefinition</a></td> |
1863 <td><a href="#TextVisitor.__visitDefinition">__visitDefinition</a></td> |
1880 <td>Public method to handle a function call.</td> |
1876 <td>Public method to handle a function call.</td> |
1881 </tr> |
1877 </tr> |
1882 <tr> |
1878 <tr> |
1883 <td><a href="#TextVisitor.visit_ClassDef">visit_ClassDef</a></td> |
1879 <td><a href="#TextVisitor.visit_ClassDef">visit_ClassDef</a></td> |
1884 <td>Public method to handle a class definition.</td> |
1880 <td>Public method to handle a class definition.</td> |
|
1881 </tr> |
|
1882 <tr> |
|
1883 <td><a href="#TextVisitor.visit_Constant">visit_Constant</a></td> |
|
1884 <td>Public method to handle constant nodes.</td> |
1885 </tr> |
1885 </tr> |
1886 <tr> |
1886 <tr> |
1887 <td><a href="#TextVisitor.visit_FunctionDef">visit_FunctionDef</a></td> |
1887 <td><a href="#TextVisitor.visit_FunctionDef">visit_FunctionDef</a></td> |
1888 <td>Public method to handle a function definition.</td> |
1888 <td>Public method to handle a function definition.</td> |
1889 </tr> |
1889 </tr> |
1921 <dt><i>node</i> (ast.AST)</dt> |
1921 <dt><i>node</i> (ast.AST)</dt> |
1922 <dd> |
1922 <dd> |
1923 reference to the node to add |
1923 reference to the node to add |
1924 </dd> |
1924 </dd> |
1925 </dl> |
1925 </dl> |
1926 <a NAME="TextVisitor.__isBaseString" ID="TextVisitor.__isBaseString"></a> |
|
1927 <h4>TextVisitor.__isBaseString</h4> |
|
1928 <b>__isBaseString</b>(<i>node</i>) |
|
1929 |
|
1930 <p> |
|
1931 Private method to determine, if a node is a base string node. |
|
1932 </p> |
|
1933 <dl> |
|
1934 |
|
1935 <dt><i>node</i> (ast.AST)</dt> |
|
1936 <dd> |
|
1937 reference to the node to check |
|
1938 </dd> |
|
1939 </dl> |
|
1940 <dl> |
|
1941 <dt>Returns:</dt> |
|
1942 <dd> |
|
1943 flag indicating a base string |
|
1944 </dd> |
|
1945 </dl> |
|
1946 <dl> |
|
1947 <dt>Return Type:</dt> |
|
1948 <dd> |
|
1949 bool |
|
1950 </dd> |
|
1951 </dl> |
|
1952 <a NAME="TextVisitor.__visitBody" ID="TextVisitor.__visitBody"></a> |
1926 <a NAME="TextVisitor.__visitBody" ID="TextVisitor.__visitBody"></a> |
1953 <h4>TextVisitor.__visitBody</h4> |
1927 <h4>TextVisitor.__visitBody</h4> |
1954 <b>__visitBody</b>(<i>node</i>) |
1928 <b>__visitBody</b>(<i>node</i>) |
1955 |
1929 |
1956 <p> |
1930 <p> |
2033 <dl> |
2007 <dl> |
2034 |
2008 |
2035 <dt><i>node</i> (ast.ClassDef)</dt> |
2009 <dt><i>node</i> (ast.ClassDef)</dt> |
2036 <dd> |
2010 <dd> |
2037 reference to the node to handle |
2011 reference to the node to handle |
|
2012 </dd> |
|
2013 </dl> |
|
2014 <a NAME="TextVisitor.visit_Constant" ID="TextVisitor.visit_Constant"></a> |
|
2015 <h4>TextVisitor.visit_Constant</h4> |
|
2016 <b>visit_Constant</b>(<i>node</i>) |
|
2017 |
|
2018 <p> |
|
2019 Public method to handle constant nodes. |
|
2020 </p> |
|
2021 <dl> |
|
2022 |
|
2023 <dt><i>node</i> (ast.Constant)</dt> |
|
2024 <dd> |
|
2025 reference to the bytes node |
2038 </dd> |
2026 </dd> |
2039 </dl> |
2027 </dl> |
2040 <a NAME="TextVisitor.visit_FunctionDef" ID="TextVisitor.visit_FunctionDef"></a> |
2028 <a NAME="TextVisitor.visit_FunctionDef" ID="TextVisitor.visit_FunctionDef"></a> |
2041 <h4>TextVisitor.visit_FunctionDef</h4> |
2029 <h4>TextVisitor.visit_FunctionDef</h4> |
2042 <b>visit_FunctionDef</b>(<i>node</i>) |
2030 <b>visit_FunctionDef</b>(<i>node</i>) |