Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
aoc-2020
master
Aoc
Day
Day1
Day10
Day11
SeatMap
Seat
Day12
Direction
Day13
Day14
Day15
Day16
Field
Day17
CubeField
Day18
ComplexExpression
Expression
Operation
Scalar
Day19
CompoundRule
Rule
StringRule
Day2
Constraint
Day20
Collage
Image
Orientation
Day21
Day22
Day23
Day24
Day25
Day3
Day4
Passport
Day5
BoardingPass
Day6
Day7
Day8
Operation
Day9
Built with Crystal 1.9.2
2023-10-07 20:43:19 UTC
abstract class
Aoc::Day18::Expression
Aoc::Day18::Expression
Reference
Object
Direct Known Subclasses
Aoc::Day18::ComplexExpression
Aoc::Day18::Scalar
Defined in:
day/18.cr
Class Method Summary
.parse
(line)
Instance Method Summary
#eval_complex
: BigInt
#eval_simple
: BigInt
Class Method Detail
def self.
parse
(line)
#
[
View source
]
Instance Method Detail
abstract def
eval_complex
: BigInt
#
[
View source
]
abstract def
eval_simple
: BigInt
#
[
View source
]