--- a
+++ b/trunk/python/python.token.php
@@ -0,0 +1,23 @@
+<?php
+
+class lang_python_token {
+	
+	public $name;	
+	public $value;
+	public $length;
+	
+	public function __construct($name,$value=null,$length=0) {
+		$this->name = $name;
+		$this->value = $value;
+		$this->length = $length;
+	}
+	
+	public function getValue() {
+		if (is_object($this->value)) {
+			return $this->value->name;
+		} else {
+			return $this->value;
+		}
+		
+	}
+}
\ No newline at end of file