Class StrConstNode
A print node for a StrConst
.
The string has a child, if the child is used as a regular expression, which is the root of the regular expression.
Import path
import semmle.python.PrintAst
Direct supertypes
Indirect supertypes
Fields
Inherited predicates
getAChild |
Gets a child of this node. |
from PrintAstNode |
getAstNode |
Gets the |
from AstElementNode |
getChild |
Gets the child node at index |
from AstElementNode |
getChildEdgeLabel |
Gets the label for the edge from this node to the specified child. By default, this is just the index of the child, but subclasses can override this. |
from PrintAstNode |
getChildNode |
Gets a child node for the AstNode that this print node represents. |
from AstElementNode |
getLocation |
Gets the location of this node in the source code. |
from AstElementNode |
getParent |
Gets the parent of this node, if any. |
from PrintAstNode |
getProperty |
Gets the value of the property of this node, where the name of the property is |
from PrintAstNode |
getStmtList |
Gets the |
from AstElementNode |
toString |
Gets a textual representation of this node in the PrintAst output tree. |
from AstElementNode |