VisitQuotedIdentifier visits the node
(ctx *antlrgen.QuotedIdentifierContext)
| 1029 | |
| 1030 | // VisitQuotedIdentifier visits the node |
| 1031 | func (v *ASTBuilder) VisitQuotedIdentifier(ctx *antlrgen.QuotedIdentifierContext) interface{} { |
| 1032 | v.Logger.Debugf("VisitQuotedIdentifier: %s", ctx.GetText()) |
| 1033 | |
| 1034 | token := v.getText(ctx.BaseParserRuleContext) |
| 1035 | identifier := strings.Replace(token[1:len(token)-1], "\"\"", "\"", -1) |
| 1036 | quotedIdentifier := tree.NewIdentifier(v.getLocation(ctx), identifier, true) |
| 1037 | quotedIdentifier.SetValue(fmt.Sprintf("QuotedIdentifier: (%s)", v.getText(ctx.BaseParserRuleContext))) |
| 1038 | |
| 1039 | return quotedIdentifier |
| 1040 | } |
| 1041 | |
| 1042 | // VisitDereference visits the node |
| 1043 | func (v *ASTBuilder) VisitDereference(ctx *antlrgen.DereferenceContext) interface{} { |
nothing calls this directly
no test coverage detected