Skip to content

An exemplar lexer which supports the offside rule with braces

License

Notifications You must be signed in to change notification settings

IepIweidieng/offside-rule-with-brace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Offside Rule with Brace

There are 5 different indentation tokens:

  • FRONT_INDENTED
    • Increases indentation level
  • NO_INDENTED
    • Do not affect indentation level
  • BACK_INDENTED
    • Decreases indentation level
  • SEMI_NO_INDENTED
    • Do not affect indentation level
  • SEMI_BACK_INDENTED
    • Decreases indentation width