Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
noir
master
Noir
Formatter
Formatters
HTML
HTMLInline
TerminalRGB
Lexer
Callback
DSL
MixinRule
PopCallback
ProcCallback
PushCallback
RegexRule
Rule
State
Builder
TokenCallback
Lexers
Crystal
CSS
HTML
JavaScript
JSON
Python
Ruby
Theme
Color
Themes
Monokai
Solarized
SolarizedDark
SolarizedLight
Token
Tokens
Comment
Doc
Multiline
Preproc
Single
Special
Error
Generic
Deleted
Emph
Error
Heading
Inserted
Lineno
Output
Prompt
Strong
Subheading
Traceback
Keyword
Constant
Declaration
Namespace
Pseudo
Reserved
Type
Variable
Literal
Date
Number
Bin
Float
Hex
Integer
Long
Oct
Other
String
Backtick
Char
Doc
Double
Escape
Heredoc
Interpol
Other
Regex
Single
Symbol
Name
Attribute
Builtin
Pseudo
Class
Constant
Decorator
Entity
Exception
Function
Label
Namespace
Other
Property
Tag
Variable
Class
Global
Instance
Num
Operator
Word
Other
Punctuation
Indicator
Str
Text
Whitespace
Built with Crystal 1.9.2
2023-10-07 15:40:24 UTC
struct
Noir::Lexer::PopCallback
Noir::Lexer::PopCallback
Struct
Value
Object
Defined in:
noir/lexer.cr
Constructors
.new
(token : Token)
Instance Method Summary
#call
(m : DSL) : Nil
#clone
#copy_with
(token _token = @token)
#token
: Token
Constructor Detail
def self.
new
(token :
Token
)
#
[
View source
]
Instance Method Detail
def
call
(m :
DSL
) : Nil
#
[
View source
]
def
clone
#
[
View source
]
def
copy_with
(token _token = @token)
#
[
View source
]
def
token
:
Token
#