def p_annotation_ref(self, p):
if len(p) < <NUM_LIT:5>:<EOL><INDENT>p[<NUM_LIT:0>] = AstAnnotationRef(self.path, p.lineno(<NUM_LIT:1>), p.lexpos(<NUM_LIT:1>), p[<NUM_LIT:2>], None)<EOL><DEDENT>else:<EOL><INDENT>p[<NUM_LIT:0>] = AstAnnotationRef(self.path, p.lineno(<NUM_LIT:1>), p.lexpos(<NUM_LIT:1>), p[<NUM_LIT:4>], p[<NUM_LIT:2>])<EOL><DEDENT>
annotation_ref : AT ID NL
                          | AT ID DOT ID NL