Skip to content

Package io.github.qishr.cascara.common.lang.ast

Interface ReferenceAstNode

java.lang.Object
        io.github.qishr.cascara.common.lang.ast.ReferenceAstNode

All Implemented Interfaces:
    AstNode


public interface ReferenceAstNode

Method Summary

Modifier and Type Method Description
public abstract String getReferenceTarget() The name of the anchor being referenced (e.g. "default_settings")
public abstract T resolve() Returns the original node being pointed to.

Method Details

getReferenceTarget

public abstract String getReferenceTarget()

The name of the anchor being referenced (e.g. "default_settings")


resolve

public abstract T resolve()

Returns the original node being pointed to.