Transpiler for HTML-in-PowerShell, PSX (like JSX)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tests: slightly nicer appearance

+4 -2
+4 -2
Tests.ps1
··· 246 246 247 247 for ($i = 0; $i -lt $_.Expect.Count; $i++) { 248 248 $Case = $_.Expect[$i] 249 + $PrePos = $Lexer.Pos 249 250 $PreState = $Lexer.State 250 251 $Next = $Lexer.NextToken() 251 252 252 253 if ($t -in $DumpTest -or $DumpAll) { 253 254 Write-Host (@" 254 255 {0} 255 - [ pre-state: {1} pos:{2} next:{3} post-state: {4}] 256 + [ pre-pos: {2}, pre-state: {1} ] 257 + [ pst-pos: {3}, pst-state: {4} ] 256 258 -> {5} 257 259 <- {6} 258 260 "@ -f ( 259 261 $i, 260 262 $PreState, 263 + $PrePos, 261 264 $Lexer.Pos, 262 - $Lexer.NextPos, 263 265 $Lexer.State, 264 266 $Case, 265 267 $Next