Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mint
0.20.0-alpha.1
Top Level Namespace
Array
Dir
File
LSP
ApplyWorkspaceEditParams
ClientCapabilities
WorkspaceClientCapabilities
WorkspaceEditClientCapabilities
CodeAction
Disabled
CodeActionContext
CodeActionOptions
CodeActionParams
CodeActionTriggerKind
CodeDescription
CodeLensOptions
ColorProviderOptions
Command
CompletionClientCapabilities
CompletionItem
CompletionContext
CompletionItem
CompletionItemKind
CompletionOptions
CompletionParams
CompletionTriggerKind
DefinitionClientCapabilities
Diagnostic
DiagnosticRelatedInformation
DiagnosticSeverity
DiagnosticTag
DidChangeTextDocumentParams
DidSaveTextDocumentParams
DocumentFormattingParams
DocumentLinkOptions
DocumentOnTypeFormattingOptions
ErrorCodes
ExecuteCommandOptions
FoldingRange
FoldingRangeKind
FoldingRangeParams
FoldingRangeProviderOptions
FormattingOptions
InitializeParams
InitializeResult
Location
LocationLink
MessageParser
Header
NotificationMessage
Position
Range
RenameOptions
RequestMessage
ResponseError
ResponseMessage
SaveOptions
SemanticTokensClientCapabilities
SemanticTokensLegend
SemanticTokensOptions
SemanticTokensParams
Server
ServerCapabilities
SignatureHelpOptions
TextDocumentClientCapabilities
TextDocumentContentChangeEvent
TextDocumentIdentifier
TextDocumentPositionParams
TextDocumentSyncKind
TextDocumentSyncOptions
TextEdit
VersionedTextDocumentIdentifier
WillSaveTextDocumentParams
Workspace
WorkspaceEdit
WorkspaceFolder
WorkspaceFolders
Mint
ArtifactCleaner
Assets
Ast
Access
Type
Argument
ArrayDestructuring
ArrayLiteral
Block
BoolLiteral
BracketAccess
Builtin
Call
Case
CaseBranch
Comment
Type
Component
Connect
ConnectVariable
Constant
CssDefinition
CssFontFace
CssKeyframes
CssNestedAt
CssSelector
Decode
Defer
Directives
Asset
Documentation
FileBased
Format
Highlight
HighlightFile
Inline
Svg
Encode
Env
Field
FieldAccess
For
Function
Get
HereDocument
HtmlAttribute
HtmlComponent
HtmlElement
HtmlFragment
HtmlStyle
Id
If
Branches
InlineFunction
Interpolation
Js
Locale
LocaleKey
Map
MapField
Module
NegatedExpression
NextCall
Node
Location
Position
NumberLiteral
Operation
ParenthesizedExpression
Pipe
Property
Provider
Record
RecordUpdate
RegexpLiteral
ReturnCall
Route
Routes
Spread
State
Statement
StateSetter
Store
StringLiteral
Style
Suite
Test
TupleDestructuring
TupleLiteral
Type
TypeDefinition
TypeDefinitionField
TypeDestructuring
TypeVariable
TypeVariant
UnaryMinus
Use
Variable
AstWatcher
Bundler
Bundle
Config
Cli
Arguments
Build
Arguments
Flags
Clean
Arguments
Flags
Command
Flags
Format
Arguments
Flags
Status
Highlight
Arguments
Flags
Init
Arguments
Flags
Install
Arguments
Flags
Lint
Arguments
Flags
Loc
Arguments
Flags
Ls
Arguments
Flags
SandboxServer
Arguments
Flags
Start
Arguments
Flags
Test
Arguments
Flags
Version
Arguments
Flags
CliException
Compiler
Options
Compiler2
Asset
Builtin
Bundle
Compiled
Decoder
Deferred
Encoder
Id
Indent
Item
Js
Raw
Ref
Renderer
Signal
Variable
VDOMRenderer2
Node
Core
Debugger
DocumentationGenerator
DocumentationServer
Env
Environment
Error
Bold
Code
Element
Snippet
Text
Errorable
Formatter
BlockFormat
Config
Helpers
HtmlBuilder
HtmlSnippet
IconGenerator
Installer
Constraint
Dependency
FixedConstraint
Package
Repository
Retry
Semver
SimpleConstraint
Js
Logger
Log
LS
CodeAction
ModuleActions
ProviderActions
Completion
Definition
DidChange
Exit
FoldingRange
Formatting
Hover
Initialize
SemanticTokens
Server
Shutdown
WillSaveWaitUntil
MintJson
Application
NamePool
Normal
ObjectSerializer
Optimized
Parser
File
PropertyValue
Reactor
ReferencesTracker
Bundle
Bundles
Node
Render
Html
Terminal
Block
Renderer
SandboxServer
CORS
File
Ide
Message
Project
Scaffold
Scope
Item
Level
Target
SemanticTokenizer
Token
TokenType
Server
Skippable
SourceFiles
StyleBuilder
Selector
StylePool
TerminalSnippet
Line
TestRunner
Browser
DocumentationReporter
DotReporter
Message
Reporter
TimeFormat
TypeChecker
Artifacts
Checkable
Comparer
Record
Type
Variable
VariableScope
VariableCompiler
VariableCompiler2
VDOMRenderer
Watcher
Workspace
ChangeProc
String
Generated using Crystal 1.10.1
2024-05-09 02:32:55 UTC
class
Mint::
Ast::
Env
Mint::Ast::Env
Mint::Ast::Node
Reference
Object
Defined in:
ast/env.cr
Constructors
.new
(file : Parser::File, name : String, from : Int64, to : Int64)
Instance Method Summary
#name
: String
Instance methods inherited from class
Mint::Ast::Node
file : Parser::File
file
,
from : Int64
from
,
from=(from : Int64)
from=
,
location : Location
location
,
new_line?
new_line?
,
parent : Node | Nil
parent
,
parent=(parent : Node | Nil)
parent=
,
source
source
,
to : Int64
to
,
to_tuple
to_tuple
Constructor methods inherited from class
Mint::Ast::Node
new(file : Mint::Parser::File, from : Int64, to : Int64)
new
Class methods inherited from class
Mint::Ast::Node
compute_location(file : Parser::File, from, to)
compute_location
,
compute_position(lines, needle) : Position
compute_position
Constructor Detail
def self.
new
(file :
Parser::File
, name :
String
, from : Int64, to : Int64)
#
[
View source
]
Instance Method Detail
def
name
:
String
#
[
View source
]