summaryrefslogtreecommitdiffstats
path: root/docs/adk15ProgGuideDB/annotations.xml
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-12-09 09:13:53 +0000
committeracolyer <acolyer>2004-12-09 09:13:53 +0000
commit3ef5bec3f1cd6c13e966551fee5d7eeed6110914 (patch)
treed7244773b9087daa946617717b5723280e776c8a /docs/adk15ProgGuideDB/annotations.xml
parenta4d5eeba2909a5ba1814b5c21fe6a21747882fcb (diff)
downloadaspectj-3ef5bec3f1cd6c13e966551fee5d7eeed6110914.tar.gz
aspectj-3ef5bec3f1cd6c13e966551fee5d7eeed6110914.zip
fixed some alignment issues in grammar fragments
Diffstat (limited to 'docs/adk15ProgGuideDB/annotations.xml')
-rw-r--r--docs/adk15ProgGuideDB/annotations.xml33
1 files changed, 16 insertions, 17 deletions
diff --git a/docs/adk15ProgGuideDB/annotations.xml b/docs/adk15ProgGuideDB/annotations.xml
index dab312c43..9905350f3 100644
--- a/docs/adk15ProgGuideDB/annotations.xml
+++ b/docs/adk15ProgGuideDB/annotations.xml
@@ -287,11 +287,10 @@
</para>
<programlisting><![CDATA[
- AnnotationPattern := '@' AnnotationTypePattern AnnotationPattern* |
- '!' AnnotationPattern
+ AnnotationPattern := '!'? '@' AnnotationTypePattern AnnotationPattern*
- AnnotationTypePattern := FullyQualifiedName |
- '(' TypePattern ')'
+ AnnotationTypePattern := FullyQualifiedName |
+ '(' TypePattern ')'
FullyQualifiedName := JavaIdentifierCharacter+ ('.' JavaIdentifierCharacter+)*
]]></programlisting>
@@ -363,11 +362,11 @@
prefix. (Extensions to this definition for generics are shown in the next chapter).</para>
<programlisting><![CDATA[
- TypePattern := SimpleTypePattern |
- '!' TypePattern |
- '(' AnnotationPattern? TypePattern ')'
- TypePattern '&&' TypePattern |
- TypePattern '||' TypePattern |
+ TypePattern := SimpleTypePattern |
+ '!' TypePattern |
+ '(' AnnotationPattern? TypePattern ')'
+ TypePattern '&&' TypePattern |
+ TypePattern '||' TypePattern |
SimpleTypePattern := DottedNamePattern '+'? '[]'*
@@ -473,7 +472,7 @@
FieldModifier := 'public' | 'private' | 'protected' | 'static' |
'transient' | 'final'
- DotOrDotDot := '.' | '..'
+ DotOrDotDot := '.' | '..'
SimpleNamePattern := JavaIdentifierChar+ ('*' SimpleNamePattern)?
]]></programlisting>
@@ -729,18 +728,18 @@
<programlisting><![CDATA[
AtThis := '@this' '(' AnnotationOrIdentifer ')'
- AtTarget := '@target' '(' AnnotationOrIdentifier ')'
+ AtTarget := '@target' '(' AnnotationOrIdentifier ')'
AnnotationOrIdentifier := '@' FullyQualifiedName | Identifier
- AtArgs := '@args' '(' AnnotationsOrIdentifiersPattern ')'
+ AtArgs := '@args' '(' AnnotationsOrIdentifiersPattern ')'
- AnnotationsOrIdentifiersPattern :=
- '..' (',' AnnotationsOrIdentifiersPatternAfterDotDot)? |
- AnnotationOrIdentifier (',' AnnotationsOrIdentifiersPattern)* |
- '*' (',' AnnotationsOrIdentifiersPattern)*
+ AnnotationsOrIdentifiersPattern :=
+ '..' (',' AnnotationsOrIdentifiersPatternAfterDotDot)? |
+ AnnotationOrIdentifier (',' AnnotationsOrIdentifiersPattern)* |
+ '*' (',' AnnotationsOrIdentifiersPattern)*
- AnnotationsOrIdentifiersPatternAfterDotDot :=
+ AnnotationsOrIdentifiersPatternAfterDotDot :=
AnnotationOrIdentifier (',' AnnotationsOrIdentifiersPatternAfterDotDot)* |
'*' (',' AnnotationsOrIdentifiersPatternAfterDotDot)*