/**
 * Copyright 2019 Twitter, Inc.
 * Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 */ import { Ast , CallAst } from "../api/ast" ; export interface ArgumentCheck { readonly isOptional : boolean ; readonly isRepeated : boolean ; compileTimeCheck ( argAst , functionAst ) ; runtimeChecker ? ( value ) ; } export class StateArgument implements ArgumentCheck { readonly isRepeated = false ; readonly isOptional = false ; compileTimeCheck ( ) { } } export class WhenCauseArgument implements ArgumentCheck { readonly isRepeated = false ; readonly isOptional = false ; compileTimeCheck ( ) { } }