Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/dsisnero/lrama.cr

    Types

    • Lrama
      • Bitmap
        • Bitmap
      • CLI
      • Counterexamples
        • Derivation
        • Example
        • Node
        • Path
        • StateItem
        • Triple
      • Diagram
      • Digraph
      • Generator
        • Crystal
          • Tables
      • Grammar
        • Auxiliary
        • Binding
        • Code
          • DestructorCode
          • InitialActionCode
          • NoReferenceCode
          • PrinterCode
          • RuleAction
        • CodeDeclaration
        • Counter
        • Destructor
        • ErrorToken
        • Inline
          • Resolver
        • Parameterized
          • Resolver
          • Rhs
          • Rule
        • PercentCode
        • Precedence
        • PrecedenceDeclaration
        • Printer
        • Reference
        • Rule
        • RuleBuilder
        • Symbol
        • SymbolGroup
        • Symbols
          • Resolver
        • TokenDeclaration
        • Type
        • Union
      • GrammarParser
      • Lexer
        • CToken
        • GrammarFile
        • LexerToken
        • Location
        • Token
          • Base
          • Char
          • Empty
          • Ident
          • InstantiateRule
          • Int
          • Str
          • Tag
          • Token
          • UserCode
        • TokenValue
      • LexerBuilder
        • Tables
        • TablesByState
      • LexerSpec
        • Alternation
        • AnyChar
        • ByteSet
        • CharClass
        • Literal
        • ParseError
        • Parser
        • RegexAst
        • RegexParser
        • Repeat
        • Rule
        • Sequence
        • ValueKind
      • Logger
      • OptionParser
        • OptionError
      • Options
      • Profiler
      • Reporter
        • Conflicts
        • Grammar
        • Precedences
        • Rules
        • States
        • Terms
      • Runtime
        • CstData
        • CstParser
        • Lexer
        • Location
        • Node
        • NodeRef
        • NodeType
        • Parser
        • Span
        • Token
        • Value
      • State
        • Action
          • Goto
          • Reduce
          • Shift
        • InadequacyAnnotation
          • Action
        • Item
        • ReduceReduceConflict
        • ResolvedConflict
        • ShiftReduceConflict
        • Transition
      • States
      • Stdlib
      • TableBuilder
      • TimeoutError
      • Tracer
        • Duration
      • Warnings
        • Conflicts
        • ImplicitEmpty
        • NameConflicts
        • RedefinedRules
        • Required
        • UselessPrecedence
    • ParseError
    class

    Lrama::LexerSpec

    Inherits Reference < Object

    Constructors

    new(rules : Array(Rule), keywords : Array(String), keywords_case_insensitive : Bool, states : Array(String))
    Source

    Instance methods

    keywords
    Source
    keywords_case_insensitive?
    Source
    rules
    Source
    states
    Source

    Nested types

    • Lrama::LexerSpec::Alternation
    • Lrama::LexerSpec::AnyChar
    • Lrama::LexerSpec::ByteSet
    • Lrama::LexerSpec::CharClass
    • Lrama::LexerSpec::Literal
    • Lrama::LexerSpec::ParseError
    • Lrama::LexerSpec::Parser
    • Lrama::LexerSpec::RegexAst
    • Lrama::LexerSpec::RegexParser
    • Lrama::LexerSpec::Repeat
    • Lrama::LexerSpec::Rule
    • Lrama::LexerSpec::Sequence
    • Lrama::LexerSpec::ValueKind

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal LanguageStatsSponsor

    The Bushido Collective builds and maintains this site.
    Licensed under the Apache License 2.0