| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix nesting of Attribute(VALUE) = [Attribute(VALUE) + Atribute(TYPE)] when using Literal floats and bools.
Switch to attribute VALUE instead of NAME for Consts.
Dump VALUE and TYPE by default when dumping tree.
Add test for BOOL production in enum.
NOTE: ATM it's legal to assign a bool to an ENUM, however I will change this in a future CL when I specialize int only const values.
BUG=224150
TEST=PRESUBMIT.py
R=nfullagar@chromium.org
Review URL: https://codereview.chromium.org/18274002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209462 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
identifier
or
identifier = ConstValue
and removes
string
from Enums for Pepper IDL.
BUG=224150
TEST=PRESUBMIT or ./run_tests.py
R=nfullagar@chromium.org
Review URL: https://codereview.chromium.org/18273002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209454 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds the basic pepper types (pp_stdint.idl) into the compiler as a primitive type. Adds idl_ppapi_parser.py.
Moves test_parser/*.idl to test_parser/*_web.idl
(These files are unchanged)
Addes test_parser/*_ppapi.idl to test pepper specific productions.
BUG=224150
R=nfullagar@chromium.org
Review URL: https://codereview.chromium.org/18191014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209339 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=243263
Review URL: https://chromiumcodereview.appspot.com/15660006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202287 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=243263
Review URL: https://chromiumcodereview.appspot.com/15860002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202049 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This (empty) file makes the idl_parser directory into a Python package, natch.
This makes importing the modules easier, since I'm trying out deriving the parser (hence I don't need to have a separate branch for Chromium just to track this file).
FWIW, I'm currently importing the lexer by backing up to the Chromium directory and then including "tools" in the path; is this correct, or is there a cleaner way of doing it?
Thanks!
# Base lexer is in Chromium src/tools/idl_parser
module_path, module_name = os.path.split(__file__)
tools_dir = os.path.join(module_path, '..', '..', '..', '..', '..', 'tools')
sys.path.append(tools_dir)
from idl_parser.idl_lexer import IDLLexer
Review URL: https://chromiumcodereview.appspot.com/15659004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201821 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is the first step towards supporting automatic doc
generation. This lexer more closely follows the WebIDL
spec.
Please review idl_node, idl_parser, idl_node
idl_log.py is unchanged from the original
This is a complete re-write of the original lexer/parser, as well as simplifications to IDLNode.
All *.in and *.idl files are for test purposes only.
To test: python idl_lexer.py OR python idl_parser.py
NOTRY=true
R=sehr@chromium.org
BUG=224150
Review URL: https://codereview.chromium.org/13498002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193973 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TBR=noelallen
Review URL: https://codereview.chromium.org/14103009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split tests into separate files to make them easier to work on.
Convert tests to unittests.
Split lexer into pure WebIDL and Pepper components
Tests now run automatically via PRESUBMIT when any change is made to the generator directory.
NOTRY=true
R=asargent@chromium.org
BUG=224150
Review URL: https://chromiumcodereview.appspot.com/13841013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193661 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This CL is the first step towards supporting automatic doc
generation. This lexer more closely follows the WebIDL
spec.
Tests run manually, CL will be added to automate.
NOTRY=true
To test: python idl_lexer.py
R=asargent@chromium.org
BUG=224150
Review URL: https://codereview.chromium.org/13390012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192761 0039d316-1c4b-4281-b951-d872f2087c98
|