class Rouge::Lexers::Bicep

Public Class Methods

datatypes() click to toggle source
# File lib/rouge/lexers/bicep.rb, line 17
def self.datatypes
  @datatypes ||= Set.new %w(array bool int object string)
end
functions() click to toggle source
# File lib/rouge/lexers/bicep.rb, line 21
def self.functions
  @functions ||= Set.new %w(
    array base64 base64ToJson base64ToString bool cidrHost cidrSubnet concat contains dataUri
    dataUriToString dateTimeAdd dateTimeFromEpoch dateTimeToEpoch deployer deployment empty endsWith
    environment extensionResourceId fail filter first flatten format getSecret groupBy guid indexOf int
    intersection items join json last lastIndexOf length list* listAccountSas listKeys listSecrets loadFileAsBase64
    loadJsonContent loadTextContent loadYamlContent managementGroup managementGroupResourceId map mapValue max min
    newGuid objectKeys padLeft parseCidr pickZones range readEnvironmentVariable reduce reference replace resourceGroup
    resourceId shallowMerge skip sort split startsWith string subscription subscriptionResourceId substring take tenant
    tenantResourceId toLogicalZone toLower toObject toPhysicalZone toUpper trim union uniqueString uri uriComponent
    uriComponentToString utcNow
  )
end
keywords() click to toggle source
# File lib/rouge/lexers/bicep.rb, line 10
def self.keywords
  @keywords ||= Set.new %w(
    as assert existing extends extension false for from func if import in metadata module 
    none null output param provider resource targetScope test true type using var void with
  )
end