48 [[nodiscard]]
const std::string &
name()
const
62 [[nodiscard]]
const std::vector<std::string> &
elements()
const
79 std::vector<std::string> elements_;
Represents a parsed C pointer array declaration.
ArrayDeclaration(std::string name, std::vector< std::string > elements, SourcePosition position)
Constructs an ArrayDeclaration.
const std::vector< std::string > & elements() const
Returns the initializer list elements.
const std::string & name() const
Returns the array variable name.
const SourcePosition & position() const
Returns the source position of the array name.
Represents a position within source content.