- getEndPos
Get the end position for a tree node. The end position is defined to be the
position of the last cha
- parseExpression
terms can be either expressions or types.
- <init>
Construct a parser from a given scanner, tree factory and log.
- accept
If next input token matches given token, skip it, otherwise report an error.
- analyzeParens
If we see an identifier followed by a '<' it could be an unbound method
reference or a binary expres
- annotation
Annotation = "@" Qualident [ "(" AnnotationFieldValues ")" ]
- annotationFieldValue
AnnotationFieldValue = AnnotationValue | Identifier "=" AnnotationValue
- annotationFieldValues
AnnotationFieldValues = "(" [ AnnotationFieldValue { "," AnnotationFieldValue }
] ")"
- annotationValue
- annotationsOpt
AnnotationsOpt = { '@' Annotation }
- arguments
- argumentsOpt
ArgumentsOpt = [ Arguments ]