souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
33 class SubroutineArgument :
public Argument {
47 void print(std::ostream& os)
const override {
51 bool equal(
const Node& node)
const override {
Defines the argument class for subrountines.
size_t index
Index of subroutine argument.
SubroutineArgument(size_t index, SrcLocation loc={})
SubroutineArgument * clone() const override
Create clone.
size_t getNumber() const
Return argument index.
Abstract class for syntactic elements in an input program.
const SrcLocation & getSrcLoc() const
Return source location of the Node.
void print(std::ostream &os) const override
Output to a given output stream.
bool equal(const Node &node) const override
Abstract equality check for two AST nodes.