This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Enable file scoped extensible directives #1376
Comments
This was referenced May 22, 2017
NTaylorMullen
added a commit
that referenced
this issue
Jun 21, 2017
- Added `DirectiveUsage` to enable extensible directive authors to indicate how their directives should be used. Currently support `Unrestricted` (how section directives have always worked and a single pre-content based directive. - Added directive parsing tests. - Removed no longer used `BlockKindInternal` items. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 21, 2017
- Updated integration code gen and IR bits to reflect new directive usage. - Updated existing unit tests that happened to test directives in code blocks to now test what happens when they exist at the document level. Being inside of a code block is now invalid and we have separate tests for that scenario. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Updated integration code gen and IR bits to reflect new directive usage. - Updated existing unit tests that happened to test directives in code blocks to now test what happens when they exist at the document level. Being inside of a code block is now invalid and we have separate tests for that scenario. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Updated integration code gen and IR bits to reflect new directive usage. - Updated existing unit tests that happened to test directives in code blocks to now test what happens when they exist at the document level. Being inside of a code block is now invalid and we have separate tests for that scenario. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Added `DirectiveUsage` to enable extensible directive authors to indicate how their directives should be used. Currently support `Unrestricted` (how section directives have always worked) and a file scoped singly occurring directive. - Added directive parsing tests. - Removed no longer used `BlockKindInternal` items. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Updated integration code gen and IR bits to reflect new directive usage. - Updated existing unit tests that happened to test directives in code blocks to now test what happens when they exist at the document level. Being inside of a code block is now invalid and we have separate tests for that scenario. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Added `DirectiveUsage` to enable extensible directive authors to indicate how their directives should be used. Currently support `Unrestricted` (how section directives have always worked) and a file scoped singly occurring directive. - Added directive parsing tests. - Removed no longer used `BlockKindInternal` items. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- Updated integration code gen and IR bits to reflect new directive usage. - Updated existing unit tests that happened to test directives in code blocks to now test what happens when they exist at the document level. Being inside of a code block is now invalid and we have separate tests for that scenario. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 22, 2017
- The context is guaranteed to be re-created per-parse, it should own the seen directives. #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 24, 2017
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited. - Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage. - Added test cases that validate directives are properly inherietd at the intermediate lowering phase. - Updated a few tests that had incorrect assumptions. - Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence. - Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore). #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 24, 2017
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited. - Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage. - Added test cases that validate directives are properly inherietd at the intermediate lowering phase. - Updated a few tests that had incorrect assumptions. - Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence. - Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore). #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 26, 2017
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited. - Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage. - Added test cases that validate directives are properly inherietd at the intermediate lowering phase. - Updated a few tests that had incorrect assumptions. - Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence. - Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore). #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 26, 2017
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited. - Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage. - Added test cases that validate directives are properly inherited at the intermediate lowering phase. - Updated a few tests that had incorrect assumptions. - Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence. - Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore). #1376
NTaylorMullen
added a commit
that referenced
this issue
Jun 26, 2017
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited. - Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage. - Added test cases that validate directives are properly inherited at the intermediate lowering phase. - Updated a few tests that had incorrect assumptions. - Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence. - Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore). #1376
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
These directives would be top-level scoped, one per file, would have overriding behavior implemented by lowering (like
@model
)The text was updated successfully, but these errors were encountered: