compiler/Dart__Parser.st
changeset 10 5df5a2f8e4b5
parent 6 06efdfe62106
--- a/compiler/Dart__Parser.st	Tue Nov 04 00:18:07 2014 +0000
+++ b/compiler/Dart__Parser.st	Tue Nov 04 00:31:38 2014 +0000
@@ -1,4 +1,4 @@
-"{ Package: 'jv:dart/compiler' }"
+"{ Package: 'ctu:dart/compiler' }"
 
 "{ NameSpace: Dart }"
 
@@ -983,6 +983,16 @@
     "Modified: / 11-01-2013 / 11:35:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!Parser methodsFor:'parsing'!
+
+parse: anObject
+        "Parse anObject with the receiving parser and answer the parse-result or an instance of PPFailure."
+
+        ^ self parse: anObject withContext: ParserContext new
+
+    "Created: / 04-11-2014 / 00:23:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !Parser::TokenParser class methodsFor:'instance creation'!
 
 for: tokenType
@@ -1030,4 +1040,5 @@
     ^ '$Changeset: <not expanded> $'
 ! !
 
+
 Parser initialize!