#include "bscript/compiler/ast/ElementIndexes.h" #include "bscript/compiler/ast/Expression.h" #include "bscript/compiler/ast/NodeVisitor.h" namespace Pol::Bscript::Compiler { ElementIndexes::ElementIndexes( const SourceLocation& source_location, std::vector> indexes ) : Node( source_location, std::move( indexes ) ) { } void ElementIndexes::accept( NodeVisitor& visitor ) { visitor.visit_element_indexes( *this ); } void ElementIndexes::describe_to( std::string& w ) const { w += "element-indexes"; } } // namespace Pol::Bscript::Compiler