class Savi::Program::Declarator::TermAcceptor::Keyword

Defined in:

savi/program/declarator/term_acceptor.cr

Constructors

Instance Method Summary

Instance methods inherited from class Savi::Program::Declarator::TermAcceptor

default : AST::Term | Nil default, default=(default : AST::Term | Nil) default=, describe : String describe, describe_post : String describe_post, name : String name, optional : Bool optional, optional=(optional : Bool) optional=, pos : Source::Pos pos, pos=(pos : Source::Pos) pos=, pos? : Source::Pos | Nil pos?, try_accept(term : AST::Term) : AST::Term | Nil try_accept, try_default : AST::Term | Nil try_default

Constructor Detail

def self.new(pos, keyword : String) #

[View source]

Instance Method Detail

def describe : String #

[View source]
def keyword : String #

[View source]
def name : String #

[View source]
def try_accept(term : AST::Term) : AST::Term | Nil #

[View source]