Search in sources :

Example 1 with PlainReferenceNode

use of com.google.auto.value.processor.escapevelocity.ReferenceNode.PlainReferenceNode in project auto by google.

the class Parser method parseReferenceNoBrace.

/**
   * Parses a reference, in the simple form without braces.
   * <pre>{@code
   * <reference-no-brace> -> <id><reference-suffix>
   * }</pre>
   */
private ReferenceNode parseReferenceNoBrace() throws IOException {
    String id = parseId("Reference");
    ReferenceNode lhs = new PlainReferenceNode(lineNumber(), id);
    return parseReferenceSuffix(lhs);
}
Also used : IndexReferenceNode(com.google.auto.value.processor.escapevelocity.ReferenceNode.IndexReferenceNode) MemberReferenceNode(com.google.auto.value.processor.escapevelocity.ReferenceNode.MemberReferenceNode) MethodReferenceNode(com.google.auto.value.processor.escapevelocity.ReferenceNode.MethodReferenceNode) PlainReferenceNode(com.google.auto.value.processor.escapevelocity.ReferenceNode.PlainReferenceNode) PlainReferenceNode(com.google.auto.value.processor.escapevelocity.ReferenceNode.PlainReferenceNode)

Aggregations

IndexReferenceNode (com.google.auto.value.processor.escapevelocity.ReferenceNode.IndexReferenceNode)1 MemberReferenceNode (com.google.auto.value.processor.escapevelocity.ReferenceNode.MemberReferenceNode)1 MethodReferenceNode (com.google.auto.value.processor.escapevelocity.ReferenceNode.MethodReferenceNode)1 PlainReferenceNode (com.google.auto.value.processor.escapevelocity.ReferenceNode.PlainReferenceNode)1