class Oxide::Language::Parser

Defined in:

oxide/language/parser.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(input : String) #

[View source]

Class Method Detail

def self.parse(input : String) #

[View source]

Macro Detail

macro with_location(method_def) #

[View source]

Instance Method Detail

def consume_token(kind : Token::Kind) #

[View source]
def expect_current_token(kind : Token::Kind) #

[View source]
def expect_keyword_and_consume(value : String) #

[View source]
def next_token(*args, **options) #

[View source]
def next_token(*args, **options, &) #

[View source]
def parse #

[View source]
def parse_argument(is_const) #

[View source]
def parse_arguments(is_const) : Array(Nodes::Argument) #

[View source]
def parse_arguments_definitions : Array(Nodes::InputValueDefinition) #

[View source]
def parse_definition #

[View source]
def parse_description : String | Nil #

[View source]
def parse_directive(is_const) #

[View source]
def parse_directive_definition(description : String | Nil) #

[View source]
def parse_directive_location : Nodes::DirectiveLocation #

[View source]
def parse_directive_locations : Array(Nodes::DirectiveLocation) #

[View source]
def parse_directives(is_const) : Array(Nodes::Directive) #

[View source]
def parse_enum_type_definition(description : String | Nil) #

[View source]
def parse_enum_value_definition #

[View source]
def parse_enum_value_name : String #

[View source]
def parse_enum_values_definition : Array(Nodes::EnumValueDefinition) #

[View source]
def parse_field #

[View source]
def parse_field_definition #

[View source]
def parse_fields_definition : Array(Nodes::FieldDefinition) #

[View source]
def parse_fragment #

[View source]
def parse_fragment_definition #

[View source]
def parse_fragment_name #

[View source]
def parse_implements_interfaces : Array(Nodes::NamedType) #

[View source]
def parse_input_fields_definition : Array(Nodes::InputValueDefinition) #

[View source]
def parse_input_object_type_definition(description : String | Nil) #

[View source]
def parse_input_value_definition #

[View source]
def parse_interface_type_definition(description : String | Nil) #

[View source]
def parse_list(is_const) #

[View source]
def parse_name #

[View source]
def parse_named_type #

[View source]
def parse_object(is_const) #

[View source]
def parse_object_field(is_const) #

[View source]
def parse_object_type_definition(description : String | Nil) #

[View source]
def parse_operation_definition #

[View source]
def parse_operation_definition_type #

[View source]
def parse_operation_type_definition #

[View source]
def parse_scalar_definition(description : String | Nil) #

[View source]
def parse_schema_definition(description : String | Nil) #

[View source]
def parse_selection #

[View source]
def parse_selection_set #

[View source]
def parse_type_reference #

[View source]
def parse_union_member_types : Array(Nodes::NamedType) #

[View source]
def parse_union_type_definition(description : String | Nil) #

[View source]
def parse_value_literal(is_const) #

[View source]
def parse_variable #

[View source]
def parse_variable_definition #

[View source]
def parse_variable_definitions : Array(Nodes::VariableDefinition) #

[View source]
def raise_unexpected #

[View source]
def token(*args, **options) #

[View source]
def token(*args, **options, &) #

[View source]