Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ParsedPhrase.cc

Go to the documentation of this file.
00001 #include "Kodu/Parsing/ParsedPhrase.h"
00002 
00003 namespace Kodu {
00004         
00005     TokenBase* ParsedPhrase::getPhraseHead() {
00006         return head;
00007     }
00008 
00009     std::vector<TokenBase*>& ParsedPhrase::getPhraseModifiers() {
00010         return modifiers;
00011     }
00012     
00013     bool ParsedPhrase::setPhraseHead(TokenBase* _head) {
00014         head = _head;
00015         return (head != NULL);
00016     }
00017     
00018     bool ParsedPhrase::setPhraseModifiers(const std::vector<TokenBase*>& kMods) {
00019         modifiers = kMods;
00020         return (!modifiers.empty());
00021     }
00022 }

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:45 2016 by Doxygen 1.6.3