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/DanielGilchrist/heucristic

    Types

    • Heucristic
      • Check
        • Abstracts
        • AssignedInstanceVars
          • Undecidable
        • BranchTypes
        • Calls
          • Virtual
        • Cases
        • CompilerError
        • Controls
        • Declarations
        • Environment
        • Example
        • Examples
        • Finding
        • Fit
        • Generics
        • Inspection
        • InstanceVars
        • Located
        • MacroArguments
        • MacroUses
        • Outcome
        • Paths
        • Returns
          • Returned
        • Rule
        • Settled
        • Skip
        • Suite
        • Tally
        • Unplaced
      • CoreType
      • CrystalEnv
        • Unavailable
      • CrystalVersion
        • Detected
        • Known
        • Unknown
      • Disk
        • Unreadable
        • Unwritable
      • Document
        • Edit
        • Open
        • OutOfRange
        • Point
        • Span
        • Store
          • Missing
        • Text
      • Fibers
        • Name
      • Index
        • Accessor
        • Advanced
        • Alias
        • AlreadySpecified
        • AnnotationNamespace
        • ArgumentCheck
        • ArgumentComplaint
        • Arity
        • BodyTraits
          • Traits
        • CallUse
        • ClassKind
        • ClassNamespace
        • Collector
        • CompilerFailed
        • CompilerFinished
        • CompilerStarted
        • CompilerUnavailable
        • Constant
          • ImplicitValue
        • DeclarationMacros
        • Def
        • EmbeddedShims
        • Entry
        • EnumNamespace
        • Event
        • Evident
          • NotEvident
        • Exclusion
        • Exclusions
        • File
        • FilePrivacy
        • FilePrivate
        • Finished
        • Generated
        • Identity
        • Indexed
        • InstanceVar
        • InstanceVarRead
        • LibNamespace
        • LoadedFiles
        • Loader
        • MacroBody
          • BlockUses
          • Traits
        • MacroCall
        • MacroDef
        • MacroEffect
        • MacroExpansion
          • Key
        • MacroHook
        • MacroOutput
        • MacroSite
        • MacroTarget
        • MacroText
          • Expansion
          • Undecidable
        • MacrosExpanded
        • MacrosFailed
        • MacrosStarted
        • MacrosUnavailable
        • MissingArgument
        • Mixin
        • MixinKind
        • MixinOrder
          • Declared
          • Unordered
        • ModuleNamespace
        • Namespace
        • NoParameter
        • OpaqueBody
        • Origin
        • Owner
        • Parameter
        • ParameterKind
        • PathUse
        • PrivateOwners
        • Public
        • Receiver
        • RecordHead
        • Reopening
        • Restriction
        • Restrictions
        • ShimCoverage
        • Shims
        • Signature
        • Sites
        • StaleShims
          • Entry
        • Started
        • Synthesized
        • Table
        • TopLevel
        • Unrestricted
        • VersionComparison
        • Visibility
        • Workspace
          • Change
      • Log
      • Protocol
        • Decoder
        • Encoder
        • Framing
          • Disconnected
          • EndOfStream
          • Malformed
        • Id
        • Message
        • Method
        • Notification
        • Request
        • Response
        • Transport
        • Unparseable
      • Requires
        • Candidate
        • Unresolved
      • Resolve
        • Admission
        • Ancestors
          • Chain
          • NotAnAncestor
          • Parent
        • Binding
        • BlockInputs
          • Typer
          • Unpacked
        • BodyFacts
          • Scoped
        • Builtins
          • Generic
          • NoSuperclass
        • CallExits
        • Compiled
        • ConstantVisit
        • DefVisit
        • Descendants
        • Dispatch
          • DefinitionKey
          • Locus
          • Typer
        • DispatchVisit
        • Escapes
          • Found
        • ExpansionVisit
        • Flow
          • Assigned
          • Branch
          • Branched
          • Declared
          • IsA
          • OrAssigned
          • Reassigned
          • RespondsTo
          • Step
          • Truthy
        • Frame
        • IncluderVisit
        • InstanceVarTypes
        • InstanceVarVisit
        • KnownExits
        • LocalAssignments
        • LocalDeclarations
        • Lookup
        • MacroExpansions
          • Expanded
        • MacroPrecedence
          • Verdict
        • Memos
        • MetaRef
        • Methods
          • CallShape
            • Argument
          • Covering
          • Reach
          • Rejected
        • Narrowing
        • Precision
        • ProgramRef
        • Reassignment
        • Receiver
          • CachedCall
          • CallKey
          • ConstructionKey
          • Site
          • Unscoped
          • Verdict
        • Render
        • Resolution
        • Resolved
        • Scope
        • Special
        • SpecialKey
        • SpecialLookup
        • Terminator
        • TypeRef
        • TypeVar
        • Typer
        • Types
          • LocateKey
        • Unify
        • UninitializedLocals
        • UnionRef
        • Unions
        • Unknown
          • Reason
        • VariableReferences
        • VariableVisit
        • Visit
      • Server
        • Answer
        • Answerer
        • CacheEntry
          • Missing
        • Compiler
        • CompilerBroken
        • CompilerDone
        • CompilerOff
        • CompilerPayload
        • CompilerPending
        • CompilerState
        • CompilerStatus
        • Completion
          • Child
          • Request
        • CrystalDetection
        • DecodedParams
          • Invalid
        • Diagnostics
        • EntryFile
          • Missing
        • Immediacy
        • IndexedPayload
        • Loop
          • Inbound
        • LooseEntry
          • Missing
        • MacroLookup
        • MacroState
        • MacroStatus
        • Macros
          • Missing
        • MacrosDone
        • MacrosOff
        • MacrosPayload
        • MacrosPending
        • MacrosStale
        • Notice
        • OpenDocuments
        • Options
        • Outcome
        • ParameterHint
          • Passed
        • Progress
          • Value
        • ProjectFiles
        • Published
          • Batch
        • Reach
        • References
          • Callers
        • Rename
          • Invalid
        • Reply
        • ResolverCaches
        • SemanticHelper
          • Missing
        • Session
        • ShimRoots
        • Silence
        • SourcePaths
        • SpecEntry
          • Missing
        • Stage
        • Stop
        • Symbols
        • Undeclared
        • Uri
          • NotAFile
      • Syntax
        • Broken
        • Context
        • ControlKind
        • Cursor
        • DefinedVariables
        • ExpansionLocals
          • Isolated
        • Generic
          • NamedArgument
        • InstanceVarUses
        • Literal
        • Metaclass
        • Named
        • Nilable
        • OnCall
        • OnDef
        • OnInstanceVar
        • OnName
        • OnPath
        • OnRequire
        • OnVar
        • ParameterName
        • Proc
        • RescueName
        • Scoped
        • SelfType
        • Splat
        • Target
        • Type
        • TypeOf
        • TypeReader
          • Outcome
          • Unsupported
        • TypeWriter
        • Underscore
        • Union
        • Uses
          • CallSite
          • CaseSite
          • ControlSite
          • DefSite
          • GenericSite
          • InstanceVarSite
          • PathSite
        • VariableRestorer
        • VariableUses
        • WellKnown
        • YieldSites
          • Site
    module

    Heucristic::Syntax

    Instance methods

    parse(source : String, path : String) : Crystal::ASTNode | Broken
    Source
    parse_fragment(source : String, path : String, at : Crystal::Location, variables : Set(String) = Set(String).new) : Crystal::ASTNode | Broken
    Source

    Nested types

    • Heucristic::Syntax::Broken
    • Heucristic::Syntax::Context
    • Heucristic::Syntax::ControlKind
    • Heucristic::Syntax::Cursor
    • Heucristic::Syntax::DefinedVariables
    • Heucristic::Syntax::ExpansionLocals
    • Heucristic::Syntax::Generic
    • Heucristic::Syntax::InstanceVarUses
    • Heucristic::Syntax::Literal
    • Heucristic::Syntax::Metaclass
    • Heucristic::Syntax::Named
    • Heucristic::Syntax::Nilable
    • Heucristic::Syntax::OnCall
    • Heucristic::Syntax::OnDef
    • Heucristic::Syntax::OnInstanceVar
    • Heucristic::Syntax::OnName
    • Heucristic::Syntax::OnPath
    • Heucristic::Syntax::OnRequire
    • Heucristic::Syntax::OnVar
    • Heucristic::Syntax::ParameterName
    • Heucristic::Syntax::Proc
    • Heucristic::Syntax::RescueName
    • Heucristic::Syntax::Scoped
    • Heucristic::Syntax::SelfType
    • Heucristic::Syntax::Splat
    • Heucristic::Syntax::Target
    • Heucristic::Syntax::Type
    • Heucristic::Syntax::TypeOf
    • Heucristic::Syntax::TypeReader
    • Heucristic::Syntax::TypeWriter
    • Heucristic::Syntax::Underscore
    • Heucristic::Syntax::Union
    • Heucristic::Syntax::Uses
    • Heucristic::Syntax::VariableRestorer
    • Heucristic::Syntax::VariableUses
    • Heucristic::Syntax::WellKnown
    • Heucristic::Syntax::YieldSites

    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