viaduct
0.3.0
interpreter
/
io.github.aplcornell.viaduct.backend
/
WireConst
Wire
Const
data
class
WireConst
(
val
index
:
Int
,
val
v
:
Int
)
:
WireTerm
Constructors
Properties
Extensions
Constructors
Wire
Const
Link copied to clipboard
fun
WireConst
(
index
:
Int
,
v
:
Int
)
Properties
index
Link copied to clipboard
val
index
:
Int
v
Link copied to clipboard
val
v
:
Int
Extensions
as
String
Link copied to clipboard
fun
WireTerm
.
asString
(
)
:
String
eval
Link copied to clipboard
fun
WireTerm
.
eval
(
)
:
Int
hash
Link copied to clipboard
fun
WireTerm
.
hash
(
)
:
String
normalize
Link copied to clipboard
fun
WireTerm
.
normalize
(
counter
:
NormalizeCounter
)
:
WireTerm
to
R1CS
Link copied to clipboard
fun
WireTerm
.
toR1CS
(
isProver
:
Boolean
,
is_eq_to
:
Int
)
:
R1CS
wire
Name
Link copied to clipboard
fun
WireTerm
.
wireName
(
)
:
String