aboutsummaryrefslogtreecommitdiffstats
path: root/Llk
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-29 09:52:51 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-29 09:52:51 +0200
commitb6f24ddd80c7f3f4febdba0eed29701d77881cbd (patch)
treeca04ec9705f36158da2309f0edc0787fe110d430 /Llk
parent7cc2021714ce1d013f41e6601c293340d3a873cb (diff)
downloadCompiler-b6f24ddd80c7f3f4febdba0eed29701d77881cbd.zip
Compiler-b6f24ddd80c7f3f4febdba0eed29701d77881cbd.tar.gz
Compiler-b6f24ddd80c7f3f4febdba0eed29701d77881cbd.tar.bz2
Add the `getCompiler` method.
Diffstat (limited to 'Llk')
-rw-r--r--Llk/Sampler/Sampler.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/Llk/Sampler/Sampler.php b/Llk/Sampler/Sampler.php
index 6199603..37f365b 100644
--- a/Llk/Sampler/Sampler.php
+++ b/Llk/Sampler/Sampler.php
@@ -118,6 +118,17 @@ abstract class Sampler {
}
/**
+ * Get compiler.
+ *
+ * @access public
+ * @return \Hoa\Compiler\Llk\Parser
+ */
+ public function getCompiler ( ) {
+
+ return $this->_compiler;
+ }
+
+ /**
* Complete a token (namespace and representation).
* It returns the next namespace.
*