class AdLint::Cpp::PragmaOperator

Public Class Methods

new() click to toggle source
Calls superclass method AdLint::Cpp::FunctionLikeMacro::new
# File lib/adlint/cpp/macro.rb, line 587
def initialize
  super(PseudoFunctionLikeDefineLine.new("_Pragma", ["str"]))
end

Public Instance Methods

expand(toks, macro_tbl, repl_ctxt) click to toggle source
# File lib/adlint/cpp/macro.rb, line 591
def expand(toks, macro_tbl, repl_ctxt)
  # TODO: Should implement pragma handling feature.
  []
end