class Ktistec::Compiler

Defined in:

utils/compiler.cr

Constant Summary

ACCESSOR = [iri, content, following, followers] of Class
CONSTANTS = [ContentRules::Actor, ContentRules::Activity, ContentRules::ObjectActivity, ContentRules::Object, ContentRules::Hashtag, ContentRules::Mention, ContentRules::CreateActivity, ContentRules::AnnounceActivity, ContentRules::LikeActivity, ContentRules::FollowActivity, ContentRules::DeleteActivity, ContentRules::UndoActivity, ContentRules::Outbox, ContentRules::Inbox, ContentRules::NotificationLike, ContentRules::NotificationAnnounce, ContentRules::NotificationFollow, ContentRules::NotificationFollowHashtag, ContentRules::NotificationFollowMention, ContentRules::NotificationMention, ContentRules::NotificationReply, ContentRules::NotificationFollowThread, ContentRules::Timeline, ContentRules::TimelineAnnounce, ContentRules::TimelineCreate, ContentRules::Follow, ContentRules::FollowHashtag, ContentRules::FollowThread, ContentRules::FollowMention, ContentRules::Filter, ContentRules::Incoming, ContentRules::Outgoing, ContentRules::InMailboxOf, ContentRules::IsRecipient, ContentRules::CheckFollowFor] of Class

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(input : String) #

Creates a compiler for the given input.


[View source]

Macro Detail

macro register_accessor(name) #

[View source]
macro register_constant(clazz) #

[View source]

Instance Method Detail

def compile #

Compiles the input into a domain with rules.


[View source]