Permalink
Commits on Aug 3, 2011
  1. Avoid too greedy auto-detection of default values.

    Don't auto-detect type and default value when documented config/property
    name doesn't match up with name from code.
    nene committed Aug 3, 2011
Commits on Aug 2, 2011
  1. Auto-detect singleton classes.

    When singleton:true inside Ext.define config.
    nene committed Aug 2, 2011
  2. Render default values and required config options.

    Place default value to separate line in cfg/param description.
    
    For required config options, display label (analogus to "static").
    nene committed Aug 2, 2011
  3. Delegate some JsParser tasks to JsLiteralParser.

    Simplified the code quite a bit.
    nene committed Aug 2, 2011
Commits on Aug 1, 2011
  1. Support for (required) syntax.

    Config options are optional by default, except when labeled with
    "(required)".
    nene committed Aug 1, 2011
  2. Initial attempt at rendering default values in UI.

    Not really that good as sometimes the values are really long.
    nene committed Aug 1, 2011
  3. Use JsLiteralParser as a base for JsParser.

    Using it for parsing right side expression of assignment.
    
    Allows us to implicitly detect default values for @cfg.
    nene committed Aug 1, 2011
  4. Use JsLiteralParser in DocParser.

    Minor modifications to JsLiteralParser to make it fail when
    syntax error encountered while parsing object literal.
    nene committed Aug 1, 2011
  5. JsLiteralBuilder class.

    Simple helper to turn JsLiteralParser output back into string.
    nene committed Aug 1, 2011
  6. JsLiteralParser class.

    Helper for parsing JavaScript literals.
    nene committed Aug 1, 2011
  7. Simpler and more efficient lexing algorithm.

    First parsing tokens into a buffer, so no token needs to be scanned
    twice.  Still... the scanpointer of StringScanner is only advanced
    when #next method is called.
    nene committed Aug 1, 2011
  8. Allow giving StringScanner as input to Lexer.

    The scanpointer of StringScanner is only advanced when Lexer#next called.
    
    This allows us to do partial lexing on a string.
    nene committed Aug 1, 2011
Commits on Jul 29, 2011
  1. Detect simple default values from code.

    First off supporting String, Number, RegExp, and Boolean.
    nene committed Jul 29, 2011
  2. Parsing of different types of default values.

    Supporting all JavaScript literals:
    
    - Number
    - String
    - RegExp
    - Boolean
    - Array
    - Object
    nene committed Jul 29, 2011
  3. Default value support for @cfg.

    nene committed Jul 29, 2011
Commits on Jul 28, 2011
  1. Rendering of optionality flag in parameters list.

    Because the string "(optional)" is no more part of the description,
    we need to add it when rendering the long parameters list.
    nene committed Jul 28, 2011
  2. New syntax for optional parameters.

    Now supporting both:
    
        @param {Type} foo (optional)
        @param {Type} [foo]
    nene committed Jul 28, 2011
Commits on Jul 27, 2011
  1. Merge branch 'properties'

    nene committed Jul 27, 2011
  2. Handling of few likely object properties errors.

    Mostly just ensuring that we don't crash if bogus input is given.
    nene committed Jul 27, 2011
Commits on Jul 26, 2011