- Dec 19, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Making use of AstNodeArray class.
-
Rene Saarsoo authored
AstNode's must now be created with AstNode.create method, which will decide whether to create AstNode or AstNodeArray.
-
Rene Saarsoo authored
Use AstNode class.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Dec 18, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Builtin tags can now define @ext_define_pattern - which causes the #parse_ext_define method to be invoked when such an item is encountered within Ext.define config.
-
Rene Saarsoo authored
Instead of using the raw AST node values. For start for the simpler things like extend, singleton, mixins, uses, ...
-
Rene Saarsoo authored
Allows iterating over object expression properties. Also using it in Ast#detect_ext_define.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
This eliminates much of the ext_* methods from Ast class.
-
Rene Saarsoo authored
Eliminating some Ast class methods that are now taken care of by AstNode class.
-
Rene Saarsoo authored
This way it doesn't have to be initialized every time Ast class is invoked. Also one less options object to be passed around.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The purpose of the base class is to clearly separate out methods that can be called from @tag implementations.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
All builtin tags are now implemented as tag classes.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Extract parts of the parsing routine into separate methods so that the #at_inheritdoc method works at a more higher level.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Dec 17, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The use of #skip_white must have been a mistake.
-
Rene Saarsoo authored
Instead call it at the top level method, ensuring it will be called always after parsing any tag.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Just using the add_tag method like previously, but the actual parsing of the @tag is performed in parse_at_tag method before control flow reaches the method for parsing the concrete tag.
-
Rene Saarsoo authored
The code should be now both cleaner and faster (we're no more calling look(/regex/) repeatedly to decide which at_tag method to call).
-
Rene Saarsoo authored
Remove bunch of duplication by parsing similar tags with a more generic functions. Also avoid repeating regexes by not testing for the exact tagname any more after the first initial check. The new helper method parse_tag_as() replaces in lots of places two lines of code with just one.
-