abstract class Savi::Program::Declarator::TermAcceptor

Direct Known Subclasses

Defined in:

savi/program/declarator/term_acceptor.cr

Instance Method Summary

Instance Method Detail

def default : AST::Term | Nil #

[View source]
def default=(default : AST::Term | Nil) #

[View source]
abstract def describe : String #

[View source]
def describe_post : String #

[View source]
abstract def name : String #

[View source]
def optional : Bool #

[View source]
def optional=(optional : Bool) #

[View source]
def pos : Source::Pos #

def pos=(pos : Source::Pos) #

[View source]
def pos? : Source::Pos | Nil #

abstract def try_accept(term : AST::Term) : AST::Term | Nil #

[View source]
def try_default : AST::Term | Nil #

[View source]