diff --git a/src/tint/tint.natvis b/src/tint/tint.natvis index 4490ee91b1..2687196fad 100644 --- a/src/tint/tint.natvis +++ b/src/tint/tint.natvis @@ -23,13 +23,45 @@ {*lhs} = {*rhs}; - {AstNodeToString(this)} *lhs *rhs + + if ({*condition}) {*body} + if ({*condition}) {*body} {*else_statements[0]} + if ({*condition}) {*body} {*else_statements[0]} {*else_statements[1]} + if ({*condition}) {*body} {*else_statements[0]} {*else_statements[1]} {*else_statements[2]} + if ({*condition}) {*body} {*else_statements[0]} {*else_statements[1]} {*else_statements[2]} else {else_statements.size()-3} more... + + + + else {*body} + else if ({*condition}) {*body} + + + + {{ {*statements[0]} }} + {{ {*statements[0]} {*statements[1]} }} + {{ {*statements[0]} {*statements[1]} {*statements[2]} }} + {{ {*statements[0]} {*statements[1]} {*statements[2]} {statements.size()-3} more... }} + + + + return; + return {*value}; + + + + fn {symbol}() -> {*return_type} {*body} + fn {symbol}({*params[0]}) -> {*return_type} {*body} + fn {symbol}({*params[0]} {*params[1]}) -> {*return_type} {*body} + fn {symbol}({*params[0]} {*params[1]} {*params[2]}) -> {*return_type} {*body} + fn {symbol}({*params[0]} {*params[1]} {*params[2]} {params.size()-3} more...) -> {*return_type} {*body} + + {symbol} @@ -55,11 +87,14 @@ - let {symbol} : {*type} = {*constructor} - let {symbol} = {*constructor} - var {symbol} = {*constructor} - var {symbol} : {*type} + + {symbol} : {*type} + + let {symbol} : {*type} = {*constructor} + let {symbol} = {*constructor} var {symbol} : {*type} = {*constructor} + var {symbol} = {*constructor} + var {symbol} @@ -74,8 +109,42 @@ {value} + + {value} + + + + void + + + + &({expr}) + ~({expr}) + *({expr}) + -({expr}) + !({expr}) + + - ({*lhs} {op,en} {*rhs}) + ({*lhs} NONE {*rhs}) + ({*lhs} & {*rhs}) + ({*lhs} | {*rhs}) + ({*lhs} ^ {*rhs}) + ({*lhs} && {*rhs}) + ({*lhs} || {*rhs}) + ({*lhs} == {*rhs}) + ({*lhs} != {*rhs}) + ({*lhs} < {*rhs}) + ({*lhs} > {*rhs}) + ({*lhs} <= {*rhs}) + ({*lhs} >= {*rhs}) + ({*lhs} << {*rhs}) + ({*lhs} >> {*rhs}) + ({*lhs} + {*rhs}) + ({*lhs} - {*rhs}) + ({*lhs} * {*rhs}) + ({*lhs} / {*rhs}) + ({*lhs} % {*rhs}) @@ -83,7 +152,7 @@ {target}({*args[0]}) {target}({*args[0]}, {*args[1]}) {target}({*args[0]}, {*args[1]}, {*args[2]}) - {target}({*args[0]}, {*args[1]}, {*args[2]}, ...) + {target}({*args[0]}, {*args[1]}, {*args[2]}, {args.size()-3} more...)