(FIX): Cleaned up a little bit, removed some notes.
This commit is contained in:
parent
c958536284
commit
f0ab2d9006
4
input.md
4
input.md
@ -13,4 +13,6 @@ this is too far`
|
|||||||
|
|
||||||
*this is **words***
|
*this is **words***
|
||||||
|
|
||||||
## **Hello world**
|
## **Hello world**
|
||||||
|
|
||||||
|
### hello world
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
/// try to avoid using raw pointers, and only use references when needed.
|
/// try to avoid using raw pointers, and only use references when needed.
|
||||||
/// Reference: https://www.youtube.com/watch?v=AmjoK55h68Y&t=166s
|
/// Reference: https://www.youtube.com/watch?v=AmjoK55h68Y&t=166s
|
||||||
|
|
||||||
// NOTE ABC
|
|
||||||
class Node {
|
class Node {
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -288,7 +288,6 @@ void Parser::Consume(size_t count) { this->position += count; };
|
|||||||
bool Parser::IsEOF() { return this->position >= this->content.length(); };
|
bool Parser::IsEOF() { return this->position >= this->content.length(); };
|
||||||
|
|
||||||
void Parser::ConsumeWhiteSpace() {
|
void Parser::ConsumeWhiteSpace() {
|
||||||
// TODO: This can be optimized using an accumulator and then consuming
|
|
||||||
char c = Peek();
|
char c = Peek();
|
||||||
while (c == ' ' || c == '\t' || c == '\n') {
|
while (c == ' ' || c == '\t' || c == '\n') {
|
||||||
Consume();
|
Consume();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user