File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 34
34
# Return true if any of `test_flags` are set
35
35
has_flags (flags:: RawFlags , test_flags) = (flags & test_flags) != 0
36
36
37
- # Function for combining flags. (Do we want this?)
38
- function flags (; trivia:: Bool = false ,
39
- infix:: Bool = false ,
40
- dotop:: Bool = false ,
41
- try_catch_after_finally:: Bool = false ,
42
- numeric:: Int = 0 )
43
- flags = RawFlags (0 )
44
- trivia && (flags |= TRIVIA_FLAG)
45
- infix && (flags |= INFIX_FLAG)
46
- dotop && (flags |= DOTOP_FLAG)
47
- try_catch_after_finally && (flags |= TRY_CATCH_AFTER_FINALLY_FLAG)
48
- numeric != 0 && (flags |= set_numeric_flags (numeric))
49
- return flags:: RawFlags
50
- end
51
-
52
37
# -------------------------------------------------------------------------------
53
38
struct SyntaxHead
54
39
kind:: Kind
You can’t perform that action at this time.
0 commit comments