Documentation ¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" EOF = "EOF" // Language idents IDENT = "IDENT" INT = "INT" STRING = "STRING" FLOAT = "FLOAT" RTIME = "RTIME" COMMENT = "COMMENT" TRUE = "TRUE" FALSE = "FALSE" LF = "LF" // "\n" // Operators // https://developer.fastly.com/reference/vcl/operators/ EQUAL = "EQUAL" // "==" NOT_EQUAL = "NOTEQUAL" // "!=" REGEX_MATCH = "REGEX" // "~" NOT_REGEX_MATCH = "NOT_REGEX_MATCH" // "!~" GREATER_THAN = "GREATER_THAN" // ">" LESS_THAN = "LESS_THAN" // "<" GREATER_THAN_EQUAL = "GREATER_THAN_EQUAL" // >=" LESS_THAN_EQUAL = "LESS_THAN_EQUAL" // <=" AND = "AND" // "&&" OR = "OR" // "||" // Assignment Operators // https://developer.fastly.com/reference/vcl/operators/#assignment-operators ASSIGN = "ASSIGN" // "=" ADDITION = "ADDITION" // "+=" SUBTRACTION = "SUBTRACTION" // "-=" MULTIPLICATION = "MULTIPLICATION" // "*=" DIVISION = "DIVISION" // "/=" REMAINDER = "REMAINDER" // "%=" BITWISE_OR = "BITWISE_OR" // "|=" BITWISE_AND = "BITWISE_AND" // "&=" BITWISE_XOR = "BITWISE_XOR" // "^=" LEFT_SHIFT = "LEFT_SHIFT" // "<<=" RIGHT_SHIFT = "RIGHT_SHIFT" // ">>=" LEFT_ROTATE = "LEFT_ROTATE" // "rol=" RIGHT_ROTATE = "RIGHT_ROTATE" // "ror=" LOGICAL_AND = "LOGICAL_AND" // "&&=" LOGICAL_OR = "LOGICAL_OR" // "||=" // Punctuation // https://developer.fastly.com/reference/vcl/operators/#reserved-punctuation LEFT_BRACE = "LEFT_BRACE" // "{" RIGHT_BRACE = "RIGHT_BRACE" // "}" LEFT_PAREN = "LEFT_PAREN" // "(" RIGHT_PAREN = "RIGHT_PAREN" // ")" LEFT_BRACKET = "LEFT_BRACKET" // "[" RIGHT_BRACKET = "RIGHT_BRACKET" // "]" COMMA = "COMMA" // "," SLASH = "SLASH" // "/" SEMICOLON = "SEMICOLON" // ";" DOT = "DOT" // "." NOT = "NOT" // "!" COLON = "COLON" // ":" PLUS = "PLUS" // "+" MINUS = "MINUS" // "-" // Keywords ACL = "ACL" // acl DIRECTOR = "DIRECTOR" // director BACKEND = "BACKEND" // backend TABLE = "TABLE" // table SUBROUTINE = "SUBROUTINE" // sub" ADD = "ADD" // add CALL = "CALL" // call DECLARE = "DECLARE" // declare ERROR = "ERROR" // error ESI = "ESI" // esi INCLUDE = "INCLUDE" // include IMPORT = "IMPORT" // import LOG = "LOG" // log" REMOVE = "REMOVE" // remove RESTART = "RESTART" // restart RETURN = "RETURN" // return SET = "SET" // set SYNTHETIC = "SYNTHETIC" // synthetic SYNTHETIC_BASE64 = "SYNTHETIC_BASE64" // synthetic.base64 UNSET = "UNSET" // unset IF = "IF" // if ELSE = "ELSE" // else ELSEIF = "ELSEIF" // elseif ELSIF = "ELSIF" // elsif PENALTYBOX = "PENALTYBOX" // penaltybox RATECOUNTER = "RATECOUNTER" // ratecounter GOTO = "GOTO" // goto )
Variables ¶
View Source
var Null = Token{ Type: ILLEGAL, Literal: "NULL", }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.