class
EmptyArgumentExpressionStatic methods
- def eval(…)
- def getSymbolReference(…)
- def isImplicitlyAssignableTo(…)
Methods
- def evalLValue(self, context: EvalContext) -> LValue
- def visit(self, f: object) -> None
- Visit a pyslang object with a callback function `f`.
Special methods
- def __repr__(self, /) -> str
Properties
- bad: bool get
- constant get
- effectiveWidth: typing.Optional[int] get
- hasHierarchicalReference: bool get
- isImplicitString: bool get
- isUnsizedInteger: bool get
- kind: ExpressionKind get
- sourceRange get
- syntax get
- type get
Method documentation
def pyslang. EmptyArgumentExpression. visit(self,
f: object) -> None
Visit a pyslang object with a callback function `f`.
The callback function `f` should take a single argument, which is the current node being visited.
The return value of `f` determines the next node to visit. If `f` ever returns `pyslang.VisitAction.Interrupt`, the visit is aborted and no additional nodes are visited. If `f` returns `pyslang.VisitAction.Skip`, then no child nodes of the current node are visited. For any other return value, including `pyslang.VisitAction.Advance`, the return value is ignored, and the walk continues.