Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RagDoc View
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
RagDoc View
Commits
610ba7cb
Commit
610ba7cb
authored
7 years ago
by
Jesper
Browse files
Options
Downloads
Patches
Plain Diff
Tweak AST declaration template
parent
cd93cd0b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
TODO
+1
-0
1 addition, 0 deletions
TODO
src/app/ast-decl/ast-decl.component.ts
+8
-4
8 additions, 4 deletions
src/app/ast-decl/ast-decl.component.ts
with
9 additions
and
4 deletions
TODO
+
1
−
0
View file @
610ba7cb
++ Separate attribute declarations and equations in type view.
++ Add thrown type descriptions.
++ Make current member filter more noticeable.
++ Add class overview as default page.
...
...
This diff is collapsed.
Click to expand it.
src/app/ast-decl/ast-decl.component.ts
+
8
−
4
View file @
610ba7cb
...
...
@@ -16,10 +16,10 @@ import {AstDecl} from './ast-decl';
}
`
],
template
:
`
<p *ngIf="
_
decl">JastAdd production: <br>
<div class="ast-decl">{{
_
decl.name}}: <type-ref [type]="
_
decl.extends"></type-ref><!--
--><ng-container *ngIf="
_
decl.components"> ::= <!--
--><ng-container *ngFor="let comp of
_
decl.components"><!--
<p *ngIf="decl">JastAdd production: <br>
<div class="ast-decl">{{decl.name}}: <type-ref [type]="decl.extends"></type-ref><!--
--><ng-container *ngIf="decl.components"> ::= <!--
--><ng-container *ngFor="let comp of decl.components"><!--
--><div class="ast-component"><!--
--><ng-container *ngIf="comp.kind == 'regular'"><!--
--><ng-container *ngIf="comp.name">{{comp.name}}:</ng-container><type-ref [type]="comp.type"></type-ref> <!--
...
...
@@ -48,4 +48,8 @@ export class AstDeclComponent {
set
decl
(
decl
:
AstDecl
)
{
this
.
_decl
=
decl
;
}
get
decl
():
AstDecl
{
return
this
.
_decl
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment