Lines Matching defs:ListASTNode

92  * Unlike other AST nodes, the location of a ListASTNode is computed dynamically
100 class ListASTNode : public ASTNode
108 ListASTNode() {}
110 ListASTNode(const ListASTNode & other);
112 virtual ~ListASTNode();
114 virtual ASTNode * clone() const { return new ListASTNode(*this); }
116 virtual std::string nodeName() const { return "ListASTNode"; }
153 OptionsBlockASTNode(ListASTNode * options) : ASTNode(), m_options(options) {}
155 inline ListASTNode * getOptions() { return m_options; }
160 smart_ptr<ListASTNode> m_options;
169 ConstantsBlockASTNode(ListASTNode * constants) : ASTNode(), m_constants(constants) {}
171 inline ListASTNode * getConstants() { return m_constants; }
176 smart_ptr<ListASTNode> m_constants;
185 SourcesBlockASTNode(ListASTNode * sources) : ASTNode(), m_sources(sources) {}
187 inline ListASTNode * getSources() { return m_sources; }
192 smart_ptr<ListASTNode> m_sources;
210 inline void setBlocks(ListASTNode * blocks) { m_blocks = blocks; }
211 inline void setOptions(ListASTNode * options) { m_options = options; }
212 inline void setConstants(ListASTNode * constants) { m_constants = constants; }
213 inline void setSources(ListASTNode * sources) { m_sources = sources; }
214 inline void setSections(ListASTNode * sections) { m_sections = sections; }
216 inline ListASTNode * getBlocks() { return m_blocks; }
217 inline ListASTNode * getOptions() { return m_options; }
218 inline ListASTNode * getConstants() { return m_constants; }
219 inline ListASTNode * getSources() { return m_sources; }
220 inline ListASTNode * getSections() { return m_sections; }
223 smart_ptr<ListASTNode> m_blocks;
224 smart_ptr<ListASTNode> m_options;
225 smart_ptr<ListASTNode> m_constants;
226 smart_ptr<ListASTNode> m_sources;
227 smart_ptr<ListASTNode> m_sections;
620 void setFieldAssignments(ListASTNode * fields) { m_fields = fields; }
621 ListASTNode * getFieldAssignments() { return m_fields; }
625 smart_ptr<ListASTNode> m_fields;
666 inline void setAttributes(ListASTNode * attributes) { m_attributes = attributes; }
667 inline ListASTNode * getAttributes() { return m_attributes; }
671 smart_ptr<ListASTNode> m_attributes;
750 inline void setOptions(ListASTNode * options)
755 inline ListASTNode * getOptions()
762 smart_ptr<ListASTNode> m_options;
796 BootableSectionContentsASTNode(ListASTNode * statements)
809 ListASTNode * getStatements() { return m_statements; }
812 smart_ptr<ListASTNode> m_statements;
841 void setIfStatements(ListASTNode * statements) { m_ifStatements = statements; }
842 ListASTNode * getIfStatements() { return m_ifStatements; }
847 void setElseStatements(ListASTNode * statements) { m_elseStatements = statements; }
848 ListASTNode * getElseStatements() { return m_elseStatements; }
852 smart_ptr<ListASTNode> m_ifStatements; //!< List of "if" section statements.
854 smart_ptr<ListASTNode> m_elseStatements; //!< Statements for the "else" part of the statements.
1031 SectionMatchListASTNode(ListASTNode * sections)
1036 SectionMatchListASTNode(ListASTNode * sections, std::string * source)
1049 inline ListASTNode * getSections() { return m_sections; }
1053 smart_ptr<ListASTNode> m_sections;
1205 FromStatementASTNode(std::string * source, ListASTNode * statements);
1217 inline void setStatements(ListASTNode * statements) { m_statements = statements; }
1218 inline ListASTNode * getStatements() { return m_statements; }
1222 smart_ptr<ListASTNode> m_statements;